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