GH-796 Icon theme loading workaround
Replacing the Qt machinery with other Qt machinery under our control
This commit is contained in:
parent
ef34cafe17
commit
ceec70e014
31 changed files with 1578 additions and 552 deletions
2
main.cpp
2
main.cpp
|
@ -4,7 +4,7 @@
|
|||
int main_gui(MultiMC &app)
|
||||
{
|
||||
// show main window
|
||||
QIcon::setThemeName(MMC->settings()->get("IconTheme").toString());
|
||||
app.setIconTheme(MMC->settings()->get("IconTheme").toString());
|
||||
MainWindow mainWin;
|
||||
mainWin.restoreState(QByteArray::fromBase64(MMC->settings()->get("MainWindowState").toByteArray()));
|
||||
mainWin.restoreGeometry(QByteArray::fromBase64(MMC->settings()->get("MainWindowGeometry").toByteArray()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue