mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
refactor: Fix some clang-tidy warnings
This commit is contained in:
@@ -261,7 +261,7 @@ namespace swift::core
|
||||
switch (application)
|
||||
{
|
||||
case CApplicationInfo::PilotClientCore: searchFor = "core"; break;
|
||||
case CApplicationInfo::Laucher: searchFor = "launcher"; break;
|
||||
case CApplicationInfo::Launcher: searchFor = "launcher"; break;
|
||||
case CApplicationInfo::MappingTool: searchFor = "data"; break;
|
||||
case CApplicationInfo::PilotClientGui: searchFor = "gui"; break;
|
||||
default: break;
|
||||
@@ -278,8 +278,8 @@ namespace swift::core
|
||||
|
||||
bool CApplication::startLauncher()
|
||||
{
|
||||
static const QString launcher = CApplication::getExecutableForApplication(CApplicationInfo::Application::Laucher);
|
||||
if (launcher.isEmpty() || CApplication::isApplicationRunning(CApplicationInfo::Laucher)) { return false; }
|
||||
static const QString launcher = CApplication::getExecutableForApplication(CApplicationInfo::Application::Launcher);
|
||||
if (launcher.isEmpty() || CApplication::isApplicationRunning(CApplicationInfo::Launcher)) { return false; }
|
||||
|
||||
// const QStringList args = this->argumentsJoined({}, { "--dbus", "--core", "--coreaudio" });
|
||||
const QStringList args = this->argumentsJoined({}, { "--dbus", "--core" });
|
||||
|
||||
Reference in New Issue
Block a user