mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-16 08:57:15 +00:00
GH-796 Icon theme loading workaround
Replacing the Qt machinery with other Qt machinery under our control
This commit is contained in:
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()));
|
||||
|
||||
Reference in New Issue
Block a user