Skip to content

Commit

Permalink
clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
jniemann66 committed Apr 25, 2018
1 parent 60b172e commit eb6e387
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ferocious/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -606,14 +606,14 @@ void MainWindow::wildcardPushToQueue(const QString& inFilename) {

else if(ui->actionMock_Conversion->isChecked()) { // mock-create directory
if(!createdDirectoriesList.contains(p)) {
ui->ConverterOutputText->append("<font color=\"yellow\">mkdir \"" + QDir::toNativeSeparators(dir.absolutePath()) + "\"</font>");
ui->ConverterOutputText->append("<font color=\"yellow\">mkdir \"" + QDir::toNativeSeparators(p) + "\"</font>");
createdDirectoriesList.append(p);
}
}

else { // create directory for real
if (!dir.exists()) {
ui->ConverterOutputText->append("<font color=\"yellow\">mkdir " + QDir::toNativeSeparators(dir.absolutePath()) + "</font>");
ui->ConverterOutputText->append("<font color=\"yellow\">mkdir " + QDir::toNativeSeparators(p) + "</font>");
dir.mkpath(".");
}
}
Expand Down Expand Up @@ -785,7 +785,7 @@ void MainWindow::convert(const QString &outfn, const QString& infn)
out << "\n";
QGuiApplication::clipboard()->setText(clipText);

QTimer::singleShot(20, [this] {
QTimer::singleShot(5, [this] {
on_ConverterFinished(0, QProcess::NormalExit);
});
}
Expand Down

0 comments on commit eb6e387

Please sign in to comment.