diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-06-03 20:45:49 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-06-03 20:54:59 +0200 |
commit | d2a8449bea58275723e769cd41c085468cb56295 (patch) | |
tree | 7a18311f7fe3bb7a39e9da02175b23cee114965b /src/plugins/coreplugin/modemanager.cpp | |
parent | 3df7a2c301379e98b0e96664a9180a8f8d666f0b (diff) | |
download | qt-creator-d2a8449bea58275723e769cd41c085468cb56295.tar.gz |
ifdef Q_?S_* cleanup
- clear up some Q_OS_LINUX vs. Q_OS_UNIX
- clear up Q_WS_* vs. Q_OS_* (relatively theoretical exercise)
- use proper #if-#else cascades instead of free-standing #ifs
Diffstat (limited to 'src/plugins/coreplugin/modemanager.cpp')
-rw-r--r-- | src/plugins/coreplugin/modemanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/coreplugin/modemanager.cpp b/src/plugins/coreplugin/modemanager.cpp index f54a9378a6..d514aa0022 100644 --- a/src/plugins/coreplugin/modemanager.cpp +++ b/src/plugins/coreplugin/modemanager.cpp @@ -147,7 +147,7 @@ void ModeManager::objectAdded(QObject *obj) m_modeShortcuts.insert(index, cmd); connect(cmd, SIGNAL(keySequenceChanged()), this, SLOT(updateModeToolTip())); for (int i = 0; i < m_modeShortcuts.size(); ++i) { -#ifdef Q_OS_MAC +#ifdef Q_WS_MAC m_modeShortcuts.at(i)->setDefaultKeySequence(QKeySequence(QString("Meta+%1").arg(i+1))); #else m_modeShortcuts.at(i)->setDefaultKeySequence(QKeySequence(QString("Ctrl+%1").arg(i+1))); |