Skip to content

Commit

Permalink
example: fix command line encoding (win)
Browse files Browse the repository at this point in the history
see qApp.arguments()
  • Loading branch information
wang-bin committed Nov 22, 2014
1 parent c84e66c commit 764962f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/common/qoptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ bool QOptions::parse(int argc, const char *const*argv)
bool result = true;
QStringList args;
for (int i=1;i<argc;++i) {
args.append(argv[i]);
args.append(QString::fromLocal8Bit(argv[i]));
}

QStringList::Iterator it = args.begin();
Expand Down

0 comments on commit 764962f

Please sign in to comment.