diff --git a/src/main.cpp b/src/main.cpp index 44e2de7..1b1fe2e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -25,6 +25,7 @@ int main( int argc, char *argv[] ) { + setenv("QT_QUICK_CONTROLS_STYLE","Desktop",1); QApplication app(argc, argv); app.setOrganizationName("KittehPlayer"); app.setOrganizationDomain("namedkitten.pw"); @@ -48,8 +49,8 @@ int main( int argc, char *argv[] ) QString newpath = QProcessEnvironment::systemEnvironment().value("APPDIR", "") + "/usr/bin:" + QProcessEnvironment::systemEnvironment().value("PATH", ""); + qDebug() << newpath; setenv("Path", newpath.toUtf8().constData(), 1); - setenv("QT_QUICK_CONTROLS_STYLE","Desktop",1); QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); qmlRegisterType("player", 1, 0, "MpvObject"); diff --git a/src/qml/main.qml b/src/qml/main.qml index 9308a3b..d30fefa 100644 --- a/src/qml/main.qml +++ b/src/qml/main.qml @@ -15,7 +15,7 @@ ApplicationWindow { visible: true width: 720 height: 480 - + color: "white" FontLoader { id: notoFont source: "fonts/NotoSans.ttf"