updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / quassel-indicator / kubuntu_02_enable_message_indicator.diff
blob6908e28420a94207c2794aa11f0adeb678a42540
1 --- quassel/src/qtui/indicatornotificationbackend.cpp 2010-04-16 16:44:13.000000000 +0100
2 +++ quassel/src/qtui/indicatornotificationbackend.cpp 2010-08-02 10:31:34.415696001 +0100
3 @@ -42,7 +42,7 @@
4 : AbstractNotificationBackend(parent)
6 NotificationSettings notificationSettings;
7 - _enabled = notificationSettings.value("Indicator/Enabled", false).toBool();
8 + _enabled = notificationSettings.value("Indicator/Enabled", true).toBool();
10 notificationSettings.notify("Indicator/Enabled", this, SLOT(enabledChanged(const QVariant &)));
12 @@ -181,7 +181,7 @@
14 void IndicatorNotificationBackend::ConfigWidget::load() {
15 NotificationSettings s;
16 - enabled = s.value("Indicator/Enabled", false).toBool();
17 + enabled = s.value("Indicator/Enabled", true).toBool();
19 ui.enabled->setChecked(enabled);
20 setChangedState(false);
21 --- quassel/src/qtui/settingspages/appearancesettingspage.ui 2010-04-16 16:44:13.000000000 +0100
22 +++ quassel/src/qtui/settingspages/appearancesettingspage.ui 2010-08-02 10:38:34.019696000 +0100
23 @@ -150,13 +150,13 @@
24 <string>Show system tray icon</string>
25 </property>
26 <property name="checked">
27 - <bool>true</bool>
28 + <bool>false</bool>
29 </property>
30 <property name="settingsKey" stdset="0">
31 <string notr="true">UseSystemTrayIcon</string>
32 </property>
33 <property name="defaultValue" stdset="0">
34 - <bool>true</bool>
35 + <bool>false</bool>
36 </property>
37 </widget>
38 </item>
39 --- quassel/src/qtui/qtui.cpp 2010-04-16 16:44:13.000000000 +0100
40 +++ quassel/src/qtui/qtui.cpp 2010-08-02 10:38:36.035696000 +0100
41 @@ -75,7 +75,7 @@
42 void QtUi::init() {
43 _mainWin->init();
44 QtUiSettings uiSettings;
45 - uiSettings.initAndNotify("UseSystemTrayIcon", this, SLOT(useSystemTrayChanged(QVariant)), true);
46 + uiSettings.initAndNotify("UseSystemTrayIcon", this, SLOT(useSystemTrayChanged(QVariant)), false);
48 GraphicalUi::init(); // needs to be called after the mainWin is initialized