Fix Material theme

This commit is contained in:
Cameron Gutman
2018-07-08 23:24:26 -07:00
parent c35d07c961
commit 98b76d3203
5 changed files with 9 additions and 9 deletions

View File

@@ -1,6 +1,7 @@
#include <QGuiApplication>
#include <QQmlApplicationEngine>
#include <QIcon>
#include <QQuickStyle>
// Don't let SDL hook our main function, since Qt is already
// doing the same thing. This needs to be before any headers
@@ -45,6 +46,8 @@ int main(int argc, char *argv[])
return new ComputerManager();
});
QQuickStyle::setStyle("Material");
// Load the main.qml file
QQmlApplicationEngine engine;
engine.load(QUrl(QStringLiteral("qrc:/gui/main.qml")));