aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/CommandLineOptions/UninstallOption/uninstalloption.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/CommandLineOptions/UninstallOption/uninstalloption.cpp')
-rw-r--r--src/plugins/CommandLineOptions/UninstallOption/uninstalloption.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/plugins/CommandLineOptions/UninstallOption/uninstalloption.cpp b/src/plugins/CommandLineOptions/UninstallOption/uninstalloption.cpp
index 7e19020b8..14456e20b 100644
--- a/src/plugins/CommandLineOptions/UninstallOption/uninstalloption.cpp
+++ b/src/plugins/CommandLineOptions/UninstallOption/uninstalloption.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2014 by Ilya Kotov *
+ * Copyright (C) 2014-2017 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -33,12 +33,10 @@ bool UninstallOption::identify(const QString &str) const
return opts.contains(str);
}
-const QString UninstallOption::helpString() const
+const QStringList UninstallOption::helpString() const
{
- QString help;
- help += QString("--uninstall ") + tr("Restore the old file associations and clean up the registry")
- + "\n";
- return help;
+ return QStringList()
+ << QString("--uninstall") + "||" + tr("Restore the old file associations and clean up the registry");
}
QString UninstallOption::executeCommand(const QString &opt_str, const QStringList &args)