Commit 13e799db authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Allow to show developer tools here too

parent d15b2173
......@@ -51,6 +51,9 @@ int main(int argc, char **argv)
"Show list of plugins installed."));
parser.addOption(listOption);
QCommandLineOption developerToolsOption(QStringList() << QStringLiteral("d") << QStringLiteral("developer-tools"), QStringLiteral("Activate Developer tools"));
parser.addOption(developerToolsOption);
parser.process(app);
if (parser.isSet(listOption)) {
......@@ -90,6 +93,9 @@ int main(int argc, char **argv)
}
viewer->setMessage(KMime::Message::Ptr(msg));
if (parser.isSet(developerToolsOption)) {
viewer->showDevelopmentTools();
}
viewer->show();
const int ret = app.exec();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment