on xenial help sign in
drop -testability support
fefbcf0Albert Astals
src/Dash/main.cpp+1−5
@@ -41,10 +41,6 @@ int main(int argc, const char *argv[])
41 "Allow the mouse to provide touch input");
41 "Allow the mouse to provide touch input");
42 parser.addOption(mousetouchOption);
42 parser.addOption(mousetouchOption);
43
43
44− QCommandLineOption testabilityOption("testability",
45− "Load the testability driver (Alternatively export QT_LOAD_TESTABILITY");
46− parser.addOption(testabilityOption);
47−
48 // FIXME Remove once we drop the need of the hint
44 // FIXME Remove once we drop the need of the hint
49 QCommandLineOption desktopFileHintOption("desktop_file_hint",
45 QCommandLineOption desktopFileHintOption("desktop_file_hint",
50 "The desktop_file_hint option for QtMir", "hint_file");
46 "The desktop_file_hint option for QtMir", "hint_file");
@@ -55,7 +51,7 @@ int main(int argc, const char *argv[])
55 parser.setSingleDashWordOptionMode(QCommandLineParser::ParseAsLongOptions);
51 parser.setSingleDashWordOptionMode(QCommandLineParser::ParseAsLongOptions);
56 parser.process(*application);
52 parser.process(*application);
57
53
58− if (parser.isSet(testabilityOption) || getenv("QT_LOAD_TESTABILITY")) {
54+ if (getenv("QT_LOAD_TESTABILITY")) {
59 QLibrary testLib(QLatin1String("qttestability"));
55 QLibrary testLib(QLatin1String("qttestability"));
60 if (testLib.load()) {
56 if (testLib.load()) {
61 typedef void (*TasInitialize)(void);
57 typedef void (*TasInitialize)(void);