mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 22:33:08 +00:00
Remove unused slot params
This commit is contained in:
parent
d7d99bfc81
commit
40dfc53486
5 changed files with 5 additions and 5 deletions
|
|
@ -60,7 +60,7 @@ bool ShellUtil::isSystem24HourFormat()
|
||||||
m_localeConfigWatcher = KConfigWatcher::create(m_localeConfig);
|
m_localeConfigWatcher = KConfigWatcher::create(m_localeConfig);
|
||||||
|
|
||||||
// watch for changes to locale config, to update 12/24 hour time
|
// 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") {
|
if (group.name() == "Locale") {
|
||||||
// we have to reparse for new changes (from system settings)
|
// we have to reparse for new changes (from system settings)
|
||||||
m_localeConfig->reparseConfiguration();
|
m_localeConfig->reparseConfiguration();
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ QuickSettingsConfig::QuickSettingsConfig(QObject *parent)
|
||||||
{
|
{
|
||||||
m_configWatcher = KConfigWatcher::create(m_config);
|
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) {
|
if (group.name() == QUICKSETTINGS_CONFIG_GROUP) {
|
||||||
Q_EMIT enabledQuickSettingsChanged();
|
Q_EMIT enabledQuickSettingsChanged();
|
||||||
Q_EMIT disabledQuickSettingsChanged();
|
Q_EMIT disabledQuickSettingsChanged();
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ WallpaperPlugin::WallpaperPlugin(QObject *parent)
|
||||||
qWarning() << "Could not connect to dbus service org.kde.plasmashell to listen to wallpaperChanged";
|
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();
|
loadLockscreenSettings();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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();
|
return m_folder->m_delegates.size();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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();
|
return m_folder->m_applications.size();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue