1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-14 09:44:51 +01:00

Disable use system icons option

This commit is contained in:
Jonas Kvinge 2019-10-04 17:08:12 +02:00
parent 4402a56e94
commit b1069f9f18
2 changed files with 8 additions and 4 deletions

View File

@ -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")) {

View File

@ -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();
}