Skip to content

Commit 8a451f6

Browse files
committed
Linux Build
1 parent bdd922e commit 8a451f6

File tree

351 files changed

+375
-86
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

351 files changed

+375
-86
lines changed

GGEasy/main.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ int main(int argc, char** argv)
190190
}
191191

192192
SettingsDialog().accept();
193+
MainWindow::updateTheme();
193194

194195
MainWindow mainWin;
195196
mainWin.setObjectName("MainWindow");

GGEasy/mainwindow.cpp

+22-12
Original file line numberDiff line numberDiff line change
@@ -1161,21 +1161,31 @@ void MainWindow::updateTheme()
11611161
// "subcontrol-position: top center; }" /* position at the top center */
11621162
// );
11631163
// }
1164-
1164+
qDebug() << QIcon::fallbackSearchPaths();
1165+
qDebug() << QIcon::fallbackThemeName();
11651166
if (App::settings().theme() < DarkBlue) {
1166-
QIcon::setThemeSearchPaths({
1167-
qApp->applicationDirPath() + "/../icons/breezeLight/",
1168-
qApp->applicationDirPath() + "/icons/breezeLight/",
1169-
});
1167+
QIcon::setThemeName("ggeasy-light");
1168+
// QIcon::setThemeSearchPaths({
1169+
// "://icons/ggeasy-light",
1170+
// ":/icons/ggeasy-light",
1171+
// "/icons/ggeasy-light",
1172+
// qApp->applicationDirPath() + "/icons/ggeasy-light",
1173+
// qApp->applicationDirPath() + "/../icons/ggeasy-light",
1174+
// });
11701175
} else {
1171-
QIcon::setThemeSearchPaths({
1172-
qApp->applicationDirPath() + "/../icons/breezeDark/",
1173-
qApp->applicationDirPath() + "/icons/breezeDark/",
1174-
});
1176+
QIcon::setThemeName("ggeasy-dark");
1177+
// QIcon::setThemeSearchPaths({
1178+
// "://icons/ggeasy-dark",
1179+
// ":/icons/ggeasy-dark",
1180+
// "/icons/ggeasy-dark",
1181+
// qApp->applicationDirPath() + "/icons/ggeasy-dark",
1182+
// qApp->applicationDirPath() + "/../icons/ggeasy-dark",
1183+
// });
11751184
}
1176-
QIcon::setThemeName("Breeze");
1177-
SettingsDialog d;
1178-
d.show();
1185+
qDebug() << QIcon::themeSearchPaths();
1186+
qDebug() << QIcon::themeName();
1187+
1188+
SettingsDialog().show();
11791189
}
11801190

11811191
void MainWindow::open()

icons/breezeDark/index.theme GGEasy/res/icons/ggeasy-dark/index.theme

+1-36
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,5 @@
11
[Icon Theme]
2-
Name=Breeze
3-
Name[ar]=نسيم
4-
Name[ast]=Breeze
5-
Name[ca]=Brisa
6-
Name[ca@valencia]=Brisa
7-
Name[cs]=Breeze
8-
Name[da]=Breeze
9-
Name[de]=Breeze
10-
Name[el]=Breeze
11-
Name[en_GB]=Breeze
12-
Name[es]=Brisa
13-
Name[et]=Breeze
14-
Name[fi]=Breeze
15-
Name[fr]=Brise
16-
Name[gd]=Oiteag
17-
Name[gl]=Breeze
18-
Name[ia]=Breeze
19-
Name[it]=Brezza
20-
Name[ko]=Breeze
21-
Name[nl]=Breeze
22-
Name[nn]=Breeze
23-
Name[pl]=Bryza
24-
Name[pt]=Brisa
25-
Name[pt_BR]=Breeze
26-
Name[ru]=Breeze
27-
Name[sk]=Breeze
28-
Name[sl]=Sapica
29-
Name[sr]=Поветарац
30-
Name[sr@ijekavian]=Поветарац
31-
Name[sr@ijekavianlatin]=Povetarac
32-
Name[sr@latin]=Povetarac
33-
Name[sv]=Breeze
34-
Name[uk]=Breeze
35-
Name[x-test]=xxBreezexx
36-
Name[zh_CN]=微风
37-
Name[zh_TW]=Breeze
2+
Name=ggeasy-dark
383

394
Comment=Default Plasma 5 Theme
405
Comment[ar]=سمة «بلازما ٥» الافتراضيّة

0 commit comments

Comments
 (0)