Commit e9dad065 authored by Devin Lin's avatar Devin Lin 🎨
Browse files

quicksettings/donotdisturb: Fix incorrect package format

parent 85d70bb5
Pipeline #230057 passed with stage
in 1 minute and 14 seconds
......@@ -151,23 +151,23 @@ QList<QString> MobileShellSettings::enabledQuickSettings() const
// TODO move defaults to file
// we aren't worried about quicksettings not showing up though, any that are not specified will be automatically added to the end
return group.readEntry("enabledQuickSettings",
QList<QString>{
QStringLiteral("org.kde.plasma.quicksetting.wifi"),
QStringLiteral("org.kde.plasma.quicksetting.mobiledata"),
QStringLiteral("org.kde.plasma.quicksetting.bluetooth"),
QStringLiteral("org.kde.plasma.quicksetting.flashlight"),
QStringLiteral("org.kde.plasma.quicksetting.screenrotation"),
QStringLiteral("org.kde.plasma.quicksetting.settingsapp"),
QStringLiteral("org.kde.plasma.quicksetting.airplanemode"),
QStringLiteral("org.kde.plasma.quicksetting.audio"),
QStringLiteral("org.kde.plasma.quicksetting.battery"),
QStringLiteral("org.kde.plasma.quicksetting.location"),
QStringLiteral("org.kde.plasma.quicksetting.nightcolor"),
QStringLiteral("org.kde.plasma.quicksetting.screenshot"),
QStringLiteral("org.kde.plasma.quicksetting.powermenu"),
QStringLiteral("org.kde.plasma.quicksetting.keyboardtoggle"),
QStringLiteral("org.kde.plasma.quicksetting.caffeine"),
});
QList<QString>{QStringLiteral("org.kde.plasma.quicksetting.wifi"),
QStringLiteral("org.kde.plasma.quicksetting.mobiledata"),
QStringLiteral("org.kde.plasma.quicksetting.bluetooth"),
QStringLiteral("org.kde.plasma.quicksetting.flashlight"),
QStringLiteral("org.kde.plasma.quicksetting.screenrotation"),
QStringLiteral("org.kde.plasma.quicksetting.settingsapp"),
QStringLiteral("org.kde.plasma.quicksetting.airplanemode"),
QStringLiteral("org.kde.plasma.quicksetting.audio"),
QStringLiteral("org.kde.plasma.quicksetting.battery"),
QStringLiteral("org.kde.plasma.quicksetting.location"),
QStringLiteral("org.kde.plasma.quicksetting.nightcolor"),
QStringLiteral("org.kde.plasma.quicksetting.screenshot"),
QStringLiteral("org.kde.plasma.quicksetting.powermenu"),
QStringLiteral("org.kde.plasma.quicksetting.keyboardtoggle"),
QStringLiteral("org.kde.plasma.quicksetting.caffeine"),
QStringLiteral("org.kde.plasma.quicksetting.donotdisturb"),
QStringLiteral("org.kde.plasma.quicksetting.record")});
}
void MobileShellSettings::setEnabledQuickSettings(QList<QString> &list)
......
......@@ -9,7 +9,7 @@ import org.kde.plasma.private.mobileshell 1.0 as MobileShell
MobileShell.QuickSetting {
text: i18n("Do Not Disturb")
icon: enabled ? "notifications" : "notifications-disabled"
icon: enabled ? "notifications-disabled" : "notifications"
status: ""
enabled: MobileShell.TopPanelControls.notificationsWidget && MobileShell.TopPanelControls.notificationsWidget.doNotDisturbModeEnabled
available: MobileShell.TopPanelControls.notificationsWidget
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment