mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-07 08:16:14 +00:00
Beginnings of settings page (#2)
* Make Moonlight icon the window icon for all windows * Add dummy settings * Add slider * FIx comments
This commit is contained in:
committed by
GitHub
parent
7bc139c50d
commit
8ebb594089
@@ -1,5 +1,6 @@
|
||||
#include <QGuiApplication>
|
||||
#include <QQmlApplicationEngine>
|
||||
#include <QIcon>
|
||||
|
||||
// Don't let SDL hook our main function, since Qt is already
|
||||
// doing the same thing. This needs to be before any headers
|
||||
@@ -29,6 +30,9 @@ int main(int argc, char *argv[])
|
||||
|
||||
QGuiApplication app(argc, argv);
|
||||
|
||||
// FIXME this icon is low-resolution and appears a little fuzzy.
|
||||
app.setWindowIcon(QIcon(":/res/icon128.png"));
|
||||
|
||||
// Register our C++ types for QML
|
||||
qmlRegisterType<ComputerModel>("ComputerModel", 1, 0, "ComputerModel");
|
||||
qmlRegisterType<AppModel>("AppModel", 1, 0, "AppModel");
|
||||
|
||||
Reference in New Issue
Block a user