mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
refs #649, enum to specify which swift application is running
(remark: used to check which caches will be used)
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user