Fix Material theme
This commit is contained in:
parent
c35d07c961
commit
98b76d3203
5 changed files with 9 additions and 9 deletions
|
|
@ -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")));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue