diff --git a/components/mobileshell/shellutil.cpp b/components/mobileshell/shellutil.cpp index edbdb40f..13447b46 100644 --- a/components/mobileshell/shellutil.cpp +++ b/components/mobileshell/shellutil.cpp @@ -60,7 +60,7 @@ bool ShellUtil::isSystem24HourFormat() m_localeConfigWatcher = KConfigWatcher::create(m_localeConfig); // watch for changes to locale config, to update 12/24 hour time - connect(m_localeConfigWatcher.data(), &KConfigWatcher::configChanged, this, [this](const KConfigGroup &group, const QByteArrayList &names) -> void { + connect(m_localeConfigWatcher.data(), &KConfigWatcher::configChanged, this, [this](const KConfigGroup &group) -> void { if (group.name() == "Locale") { // we have to reparse for new changes (from system settings) m_localeConfig->reparseConfiguration(); diff --git a/components/quicksettingsplugin/quicksettingsconfig.cpp b/components/quicksettingsplugin/quicksettingsconfig.cpp index cc3c4991..1aba34da 100644 --- a/components/quicksettingsplugin/quicksettingsconfig.cpp +++ b/components/quicksettingsplugin/quicksettingsconfig.cpp @@ -17,7 +17,7 @@ QuickSettingsConfig::QuickSettingsConfig(QObject *parent) { m_configWatcher = KConfigWatcher::create(m_config); - connect(m_configWatcher.data(), &KConfigWatcher::configChanged, this, [this](const KConfigGroup &group, const QByteArrayList &names) -> void { + connect(m_configWatcher.data(), &KConfigWatcher::configChanged, this, [this](const KConfigGroup &group) -> void { if (group.name() == QUICKSETTINGS_CONFIG_GROUP) { Q_EMIT enabledQuickSettingsChanged(); Q_EMIT disabledQuickSettingsChanged(); diff --git a/components/wallpaperimageplugin/wallpaperplugin.cpp b/components/wallpaperimageplugin/wallpaperplugin.cpp index f9d10952..4a24aafd 100644 --- a/components/wallpaperimageplugin/wallpaperplugin.cpp +++ b/components/wallpaperimageplugin/wallpaperplugin.cpp @@ -38,7 +38,7 @@ WallpaperPlugin::WallpaperPlugin(QObject *parent) qWarning() << "Could not connect to dbus service org.kde.plasmashell to listen to wallpaperChanged"; } - connect(m_lockscreenConfigWatcher.data(), &KConfigWatcher::configChanged, this, [this](const KConfigGroup &group, const QByteArrayList &names) { + connect(m_lockscreenConfigWatcher.data(), &KConfigWatcher::configChanged, this, [this](const KConfigGroup &group) { loadLockscreenSettings(); }); diff --git a/containments/homescreens/folio/folioapplicationfolder.cpp b/containments/homescreens/folio/folioapplicationfolder.cpp index 6156f451..581a67ee 100644 --- a/containments/homescreens/folio/folioapplicationfolder.cpp +++ b/containments/homescreens/folio/folioapplicationfolder.cpp @@ -151,7 +151,7 @@ ApplicationFolderModel::ApplicationFolderModel(FolioApplicationFolder *folder) }); } -int ApplicationFolderModel::rowCount(const QModelIndex &parent) const +int ApplicationFolderModel::rowCount(const QModelIndex & /*parent*/) const { return m_folder->m_delegates.size(); } diff --git a/containments/homescreens/halcyon/plugin/applicationfolder.cpp b/containments/homescreens/halcyon/plugin/applicationfolder.cpp index 914e78f2..a04dc3e4 100644 --- a/containments/homescreens/halcyon/plugin/applicationfolder.cpp +++ b/containments/homescreens/halcyon/plugin/applicationfolder.cpp @@ -115,7 +115,7 @@ ApplicationFolderModel::ApplicationFolderModel(ApplicationFolder *folder) { } -int ApplicationFolderModel::rowCount(const QModelIndex &parent) const +int ApplicationFolderModel::rowCount(const QModelIndex & /*parent*/) const { return m_folder->m_applications.size(); }