GUI: Update MacOS detection macros
For GUI-specific things use Q_OS_MACOS, and for other things use Q_OS_APPLE.
This commit is contained in:
committed by
Chris Hennes
parent
f846cc7acf
commit
e52ef2a525
@@ -1264,7 +1264,7 @@ void PythonConsole::runSourceFromMimeData(const QString& source)
|
||||
#elif defined(Q_OS_WIN32)
|
||||
// Need to convert CRLF to LF
|
||||
text.replace(QLatin1String("\r\n"), QLatin1String("\n"));
|
||||
#elif defined(Q_OS_MAC)
|
||||
#elif defined(Q_OS_APPLE)
|
||||
//need to convert CR to LF
|
||||
text.replace(QLatin1Char('\r'), QLatin1Char('\n'));
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user