Remove the need for a preceeding / on android (Allow empty root path)

This commit is contained in:
baldurk committed 2017-11-29 19:01:23 +00:00
1 parent 59e38e30da
commit e189ae030c
3 files changed
+4 -3

No files matched your search

+2 -1
View File
@@ -358,7 +358,8 @@ void MainWindow::OnCaptureTrigger(const QString &exe, const QString &workingDir,
th->wait(500);
if(th->isRunning())
{
ShowProgressDialog(this, tr("Launching %1, please wait...").arg(exe),
QString filename = QFileInfo(exe).fileName();
ShowProgressDialog(this, tr("Launching %1, please wait...").arg(filename),
[th]() { return !th->isRunning(); });
}
th->deleteLater();