Remove unused slot params

This commit is contained in:
Alexander Lohnau 2024-02-16 13:37:26 +01:00
parent d7d99bfc81
commit 40dfc53486
5 changed files with 5 additions and 5 deletions

View file

@ -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();

View file

@ -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();

View file

@ -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();
});

View file

@ -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();
}

View file

@ -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();
}