parent
4a563a131b
commit
feee9cc328
1 changed files with 3 additions and 2 deletions
|
@ -1107,8 +1107,9 @@ void MainWindow::actCheckCardUpdates()
|
||||||
binaryName = getCardUpdaterBinaryName();
|
binaryName = getCardUpdaterBinaryName();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (dir.exists(binaryName))
|
if (dir.exists(binaryName)) {
|
||||||
updaterCmd = dir.absoluteFilePath(binaryName);
|
updaterCmd = dir.absoluteFilePath(binaryName);
|
||||||
|
}
|
||||||
|
|
||||||
if (updaterCmd.isEmpty()) {
|
if (updaterCmd.isEmpty()) {
|
||||||
QMessageBox::warning(this, tr("Error"),
|
QMessageBox::warning(this, tr("Error"),
|
||||||
|
@ -1116,7 +1117,7 @@ void MainWindow::actCheckCardUpdates()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
cardUpdateProcess->start("\"" + updaterCmd + "\"", QStringList());
|
cardUpdateProcess->start(updaterCmd, QStringList());
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::cardUpdateError(QProcess::ProcessError err)
|
void MainWindow::cardUpdateError(QProcess::ProcessError err)
|
||||||
|
|
Loading…
Reference in a new issue