on xenial help sign in
Add an option for desktop_file_hint since the upstart file is using it
commit49acd7667efd6ee2f33bf500e091fc1829dc9b88 authorAlbert Astals <albert.astals@canonical.com> dateWed 6 Aug 2014, 10:14 (12 years ago) parentded80f4
2 files changed+5−1
data/unity8-dash.conf+1−1 src/Dash/main.cpp+4
data/unity8-dash.conf+1−1
@@ -19,4 +19,4 @@ pre-start script
1919 initctl emit scope-ui-starting
2020end script
2121
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[])
4444 "Load the testability driver (Alternatively export QT_LOAD_TESTABILITY");
4545 parser.addOption(testabilityOption);
4646
47+ QCommandLineOption desktopFileHintOption("desktop_file_hint",
48+ "The desktop_file_hint option for QtMir", "hint_file");
49+ parser.addOption(desktopFileHintOption);
50+
4751 // Treat args with single dashes the same as arguments with two dashes
4852 // Ex: -fullscreen == --fullscreen
4953 parser.setSingleDashWordOptionMode(QCommandLineParser::ParseAsLongOptions);