ported to Qt5

This commit is contained in:
Federico Ponchio 2013-03-20 12:50:07 +00:00
parent 30f67a3782
commit b51ee87470
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ bool GetOpt::parse(QString &error) {
return false; return false;
} }
Option o; Option o;
if(!findOption(arg[1].toAscii(), o)) { if(!findOption(arg[1].toLatin1(), o)) {
error = "Unknown option: '" + arg + "'"; error = "Unknown option: '" + arg + "'";
return false; return false;
} }