diff options
| author | Méven Car <[email protected]> | 2023-05-09 10:30:14 +0200 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2023-05-09 10:30:14 +0200 |
| commit | 5887d1d852ccfdaa6fc1582abc60de13768062e6 (patch) | |
| tree | 1815e8381ad5b328ccf31fd136c2aadd69d6f5b6 /src/views/dolphinremoteencoding.cpp | |
| parent | d6da4a903fb71664da09e09fe31a35123052fd8c (diff) | |
Fix a bunch of Qt6/Kf6 warnings
Diffstat (limited to 'src/views/dolphinremoteencoding.cpp')
| -rw-r--r-- | src/views/dolphinremoteencoding.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/views/dolphinremoteencoding.cpp b/src/views/dolphinremoteencoding.cpp index 04626c1c3..35b50f07c 100644 --- a/src/views/dolphinremoteencoding.cpp +++ b/src/views/dolphinremoteencoding.cpp @@ -87,7 +87,7 @@ void DolphinRemoteEncoding::fillMenu() QMenu *menu = m_menu->menu(); menu->clear(); - menu->addAction(i18n("Default"), this, SLOT(slotDefault()), 0)->setCheckable(true); + menu->addAction(i18n("Default"), this, &DolphinRemoteEncoding::slotDefault)->setCheckable(true); for (int i = 0; i < m_encodingDescriptions.size(); i++) { QAction *action = new QAction(m_encodingDescriptions.at(i), this); action->setCheckable(true); @@ -96,7 +96,7 @@ void DolphinRemoteEncoding::fillMenu() } menu->addSeparator(); - menu->addAction(i18n("Reload"), this, SLOT(slotReload()), 0); + menu->addAction(i18n("Reload"), this, &DolphinRemoteEncoding::slotReload); m_idDefault = m_encodingDescriptions.size() + 2; connect(menu, &QMenu::triggered, this, &DolphinRemoteEncoding::slotItemSelected); |
