Disable use system icons option
This commit is contained in:
@@ -37,10 +37,12 @@ bool IconLoader::custom_icons_ = false;
|
|||||||
|
|
||||||
void IconLoader::Init() {
|
void IconLoader::Init() {
|
||||||
|
|
||||||
QSettings s;
|
// TODO: Fix use system icons option properly.
|
||||||
s.beginGroup(AppearanceSettingsPage::kSettingsGroup);
|
|
||||||
system_icons_ = s.value("system_icons", false).toBool();
|
//QSettings s;
|
||||||
s.endGroup();
|
//s.beginGroup(AppearanceSettingsPage::kSettingsGroup);
|
||||||
|
//system_icons_ = s.value("system_icons", false).toBool();
|
||||||
|
//s.endGroup();
|
||||||
|
|
||||||
QDir dir;
|
QDir dir;
|
||||||
if (dir.exists(QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation) + "/icons")) {
|
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_->select_tabbar_color, SIGNAL(pressed()), SLOT(TabBarSelectBGColor()));
|
||||||
connect(ui_->tabbar_system_color, SIGNAL(toggled(bool)), SLOT(TabBarSystemColor(bool)));
|
connect(ui_->tabbar_system_color, SIGNAL(toggled(bool)), SLOT(TabBarSystemColor(bool)));
|
||||||
|
|
||||||
|
ui_->checkbox_system_icons->hide();
|
||||||
|
|
||||||
Load();
|
Load();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user