Disable scroll over icon to change track option on kde
This commit is contained in:
@@ -33,6 +33,7 @@
|
|||||||
|
|
||||||
#include "core/iconloader.h"
|
#include "core/iconloader.h"
|
||||||
#include "core/mainwindow.h"
|
#include "core/mainwindow.h"
|
||||||
|
#include "core/utilities.h"
|
||||||
#include "settings/settingspage.h"
|
#include "settings/settingspage.h"
|
||||||
#include "behavioursettingspage.h"
|
#include "behavioursettingspage.h"
|
||||||
#include "ui_behavioursettingspage.h"
|
#include "ui_behavioursettingspage.h"
|
||||||
@@ -120,6 +121,10 @@ BehaviourSettingsPage::BehaviourSettingsPage(SettingsDialog *dialog) : SettingsP
|
|||||||
ui_->groupbox_language->setVisible(false);
|
ui_->groupbox_language->setVisible(false);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
QString de = Utilities::DesktopEnvironment();
|
||||||
|
if (de.toLower() == "kde")
|
||||||
|
ui_->checkbox_scrolltrayicon->hide();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
BehaviourSettingsPage::~BehaviourSettingsPage() {
|
BehaviourSettingsPage::~BehaviourSettingsPage() {
|
||||||
|
|||||||
@@ -24,16 +24,6 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<widget class="QCheckBox" name="checkbox_scrolltrayicon">
|
|
||||||
<property name="text">
|
|
||||||
<string>Scroll over icon to change track</string>
|
|
||||||
</property>
|
|
||||||
<property name="checked">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="checkbox_keeprunning">
|
<widget class="QCheckBox" name="checkbox_keeprunning">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@@ -61,6 +51,16 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="checkbox_scrolltrayicon">
|
||||||
|
<property name="text">
|
||||||
|
<string>Scroll over icon to change track</string>
|
||||||
|
</property>
|
||||||
|
<property name="checked">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="Line" name="line_1">
|
<widget class="Line" name="line_1">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
|
|||||||
Reference in New Issue
Block a user