Skip to content

Commit

Permalink
Fix logging format
Browse files Browse the repository at this point in the history
  • Loading branch information
lupoDharkael committed Jul 25, 2017
1 parent 443e3bd commit dc005f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@ int main(int argc, char *argv[]) {
if (parser.isSet("path")) {
pathValue = QString::fromStdString(parser.value("path").toStdString());
if (!QDir(pathValue).exists()) {
qWarning() << QObject::tr("Invalid path.");
qWarning().noquote() << QObject::tr("Invalid path.");
return 0;
}
}
int delay = 0;
if (parser.isSet("delay")) {
delay = parser.value("delay").toInt();
if (delay < 0) {
qWarning() << QObject::tr("Invalid negative delay.");
qWarning().noquote() << QObject::tr("Invalid negative delay.");
return 0;
}
}
Expand Down

0 comments on commit dc005f6

Please sign in to comment.