on xenial help sign in
Add an option for desktop_file_hint since the upstart file is using it
49acd76Albert Astals
data/unity8-dash.conf+1−1
@@ -19,4 +19,4 @@ pre-start script
19 initctl emit scope-ui-starting
19 initctl emit scope-ui-starting
20end script
20end script
21
21
22−exec ${BINARY:-unity8-dash} $ARGS --desktop_file_hint=/usr/share/applications/unity8-dash.desktop
22+exec ${BINARY:-unity8-dash} $ARGS
src/Dash/main.cpp+4
@@ -44,6 +44,10 @@ int main(int argc, const char *argv[])
44 "Load the testability driver (Alternatively export QT_LOAD_TESTABILITY");
44 "Load the testability driver (Alternatively export QT_LOAD_TESTABILITY");
45 parser.addOption(testabilityOption);
45 parser.addOption(testabilityOption);
46
46
47+ QCommandLineOption desktopFileHintOption("desktop_file_hint",
48+ "The desktop_file_hint option for QtMir", "hint_file");
49+ parser.addOption(desktopFileHintOption);
50+
47 // Treat args with single dashes the same as arguments with two dashes
51 // Treat args with single dashes the same as arguments with two dashes
48 // Ex: -fullscreen == --fullscreen
52 // Ex: -fullscreen == --fullscreen
49 parser.setSingleDashWordOptionMode(QCommandLineParser::ParseAsLongOptions);
53 parser.setSingleDashWordOptionMode(QCommandLineParser::ParseAsLongOptions);