refs #649, enum to specify which swift application is running

(remark: used to check which caches will be used)
This commit is contained in:
Klaus Basan
2016-05-24 00:24:21 +02:00
parent 239f410cef
commit 9606ab12db
8 changed files with 66 additions and 34 deletions

View File

@@ -29,7 +29,7 @@ int main(int argc, char *argv[])
//! [CSwiftGuiStdApplication]
CGuiApplication::highDpiScreenSupport();
QApplication qa(argc, argv);
CGuiApplication a("swift launcher", CIcons::swift1024());
CGuiApplication a("swift launcher", CGuiApplication::Laucher, CIcons::swift1024());
a.addParserOption({{"i", "installer"}, QCoreApplication::translate("main", "Installer setup."), "installer"});
a.parse();
//! [CSwiftGuiStdApplication]