Changeset 485 for trunk/src


Ignore:
Timestamp:
Jan 29, 2010, 12:01:32 AM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

corelib: Fixed r484: Argument list wasn't delimited by spaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/corelib/io/qprocess_os2.cpp

    r484 r485  
    969969
    970970            QByteArray args;
    971             foreach(const QString &arg, arguments)
     971            foreach(const QString &arg, arguments) {
     972                if (!args.isEmpty())
     973                    args += ' ';
    972974                if (!arg.isEmpty())
    973975                    args += '"' + QFile::encodeName(arg) + '"';
     976            }
    974977            if (needCmd) {
    975978                args.prepend("\" ");
Note: See TracChangeset for help on using the changeset viewer.