Ticket #14602: qprocess_unix.cpp.diff
File qprocess_unix.cpp.diff, 646 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 17 years ago) |
---|
-
src/corelib/io/qprocess_unix.cpp
old new 78 78 #include "qprocess.h" 79 79 #include "qprocess_p.h" 80 80 81 #ifdef Q_ OS_MAC81 #ifdef Q_WS_MAC 82 82 #include <private/qcore_mac_p.h> 83 83 #endif 84 84 … … 591 591 592 592 // Encode the program name. 593 593 QByteArray encodedProgramName = QFile::encodeName(program); 594 #ifdef Q_ OS_MAC594 #ifdef Q_WS_MAC 595 595 // allow invoking of .app bundles on the Mac. 596 596 QFileInfo fileInfo(QString::fromUtf8(encodedProgramName.constData())); 597 597 if (encodedProgramName.endsWith(".app") && fileInfo.isDir()) {