+ support of home path with non-ASCII chars

This commit is contained in:
wmayer
2014-10-19 17:27:02 +02:00
parent 2453dd4e01
commit 7ade19fde2
5 changed files with 28 additions and 24 deletions

View File

@@ -213,8 +213,6 @@ int main( int argc, char ** argv )
{
QCoreApplication app(argc, argv);
QStringList args = app.arguments();
args.pop_front(); // remove 1st argument
argv_.push_back(argv[0]);
for (QStringList::iterator it = args.begin(); it != args.end(); ++it) {
data.push_back(it->toUtf8());
argv_.push_back(data.back().data());