mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-14 18:03:44 +01:00
Disable use system icons option
This commit is contained in:
parent
4402a56e94
commit
b1069f9f18
@ -37,10 +37,12 @@ bool IconLoader::custom_icons_ = false;
|
||||
|
||||
void IconLoader::Init() {
|
||||
|
||||
QSettings s;
|
||||
s.beginGroup(AppearanceSettingsPage::kSettingsGroup);
|
||||
system_icons_ = s.value("system_icons", false).toBool();
|
||||
s.endGroup();
|
||||
// TODO: Fix use system icons option properly.
|
||||
|
||||
//QSettings s;
|
||||
//s.beginGroup(AppearanceSettingsPage::kSettingsGroup);
|
||||
//system_icons_ = s.value("system_icons", false).toBool();
|
||||
//s.endGroup();
|
||||
|
||||
QDir dir;
|
||||
if (dir.exists(QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation) + "/icons")) {
|
||||
|
@ -110,6 +110,8 @@ AppearanceSettingsPage::AppearanceSettingsPage(SettingsDialog *dialog)
|
||||
connect(ui_->select_tabbar_color, SIGNAL(pressed()), SLOT(TabBarSelectBGColor()));
|
||||
connect(ui_->tabbar_system_color, SIGNAL(toggled(bool)), SLOT(TabBarSystemColor(bool)));
|
||||
|
||||
ui_->checkbox_system_icons->hide();
|
||||
|
||||
Load();
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user