From 5f215fcdd3715a0c7f74b189610b6222da3c9cd8 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Tue, 15 Dec 2015 10:16:17 +0100 Subject: testbench: fix the comment about use qputenv() Refer to qputenv() instead of qsetenv(), and remove the mention of QT_QUICK_FILE_SELECTORS that is no longer supported. Change-Id: Ifada695afb1815e3b709d147250d297915550c16 Task-number: QTBUG-49891 Reviewed-by: Mitch Curtis --- tests/manual/testbench/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/manual/testbench/main.cpp b/tests/manual/testbench/main.cpp index b6eec8d8..e0f975fe 100644 --- a/tests/manual/testbench/main.cpp +++ b/tests/manual/testbench/main.cpp @@ -52,8 +52,7 @@ int main(int argc, char *argv[]) // These must be set before running. // TODO: move style selection into app UI and use settings to save choices. - // qsetenv("QT_QUICK_FILE_SELECTORS", "material"); - // qsetenv("QT_LABS_CONTROLS_STYLE", "material"); + // qputenv("QT_LABS_CONTROLS_STYLE", "material"); QQmlApplicationEngine engine; engine.load(QUrl(QStringLiteral("qrc:/main.qml"))); -- cgit v1.2.3