diff options
Diffstat (limited to 'examples/quick/extras/flat/main.cpp')
| -rw-r--r-- | examples/quick/extras/flat/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/quick/extras/flat/main.cpp b/examples/quick/extras/flat/main.cpp index a061d90b2..dd90f807d 100644 --- a/examples/quick/extras/flat/main.cpp +++ b/examples/quick/extras/flat/main.cpp @@ -56,8 +56,8 @@ int main(int argc, char *argv[]) { QGuiApplication app(argc, argv); - if (qgetenv("QT_QUICK_CONTROLS_STYLE").isEmpty()) { - qputenv("QT_QUICK_CONTROLS_STYLE", "Flat"); + if (qgetenv("QT_QUICK_CONTROLS_1_STYLE").isEmpty()) { + qputenv("QT_QUICK_CONTROLS_1_STYLE", "Flat"); } QQmlApplicationEngine engine; engine.load(QUrl("qrc:/main.qml")); |
