mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
refactor: Fix some clang-tidy warnings
This commit is contained in:
@@ -38,7 +38,7 @@ int main(int argc, char *argv[])
|
||||
CGuiApplication::highDpiScreenSupport(CGuiApplication::scaleFactor(argc, argv));
|
||||
QApplication qa(argc, argv); // needed
|
||||
Q_UNUSED(qa)
|
||||
CGuiApplication a(CApplicationInfo::swiftLauncher(), CApplicationInfo::Laucher, CIcons::swiftLauncher1024());
|
||||
CGuiApplication a(CApplicationInfo::swiftLauncher(), CApplicationInfo::Launcher, CIcons::swiftLauncher1024());
|
||||
a.addNetworkOptions(); // so it can be passed (hand over) to started applications
|
||||
a.addDBusAddressOption(); // required by the dbus server address selector
|
||||
const QCommandLineOption installerOption { { "i", "installer" }, QCoreApplication::translate("main", "Installer setup.") };
|
||||
|
||||
Reference in New Issue
Block a user