diff options
Diffstat (limited to 'src/gui/kernel/qapplication.cpp')
-rw-r--r-- | src/gui/kernel/qapplication.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp index d489aaf6bd..d447c94ae5 100644 --- a/src/gui/kernel/qapplication.cpp +++ b/src/gui/kernel/qapplication.cpp @@ -5338,25 +5338,6 @@ QInputContext *QApplication::inputContext() const } #endif // QT_NO_IM -//Returns the current platform used by keyBindings -uint QApplicationPrivate::currentPlatform(){ - uint platform = KB_Win; -#ifdef Q_WS_MAC - platform = KB_Mac; -#elif defined Q_WS_X11 - platform = KB_X11; - if (X11->desktopEnvironment == DE_KDE) - platform |= KB_KDE; - if (X11->desktopEnvironment == DE_GNOME) - platform |= KB_Gnome; - if (X11->desktopEnvironment == DE_CDE) - platform |= KB_CDE; -#elif defined(Q_OS_SYMBIAN) - platform = KB_S60; -#endif - return platform; -} - bool qt_sendSpontaneousEvent(QObject *receiver, QEvent *event) { return QApplicationBase::sendSpontaneousEvent(receiver, event); |