mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Remove dead code
This commit is contained in:
@@ -310,23 +310,8 @@ namespace BlackGui
|
||||
return;
|
||||
}
|
||||
|
||||
QStringList arguments;
|
||||
if (rf.isSwiftInstaller())
|
||||
{
|
||||
/** installer now remembers install dir
|
||||
QDir dir(QCoreApplication::applicationDirPath());
|
||||
dir.cdUp();
|
||||
if (dir.exists())
|
||||
{
|
||||
const QString d(dir.absolutePath());
|
||||
arguments << "--installdir";
|
||||
arguments << d;
|
||||
}
|
||||
**/
|
||||
}
|
||||
|
||||
const bool shutdown = ui->cb_Shutdown->isChecked();
|
||||
const bool started = QProcess::startDetached(executable, arguments, dir.absolutePath());
|
||||
const bool started = QProcess::startDetached(executable, {}, dir.absolutePath());
|
||||
if (started && shutdown && sGui)
|
||||
{
|
||||
QTimer::singleShot(250, sGui, []
|
||||
|
||||
Reference in New Issue
Block a user