Remove redundant platformNativeInterface()

platformNativeInterface() is already defined in QGuiApplication.

Change-Id: Ice720fb6f7e4b01c4627219d66a5a3c8980a79a5
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
This commit is contained in:
Girish Ramakrishnan 2012-04-11 19:31:39 -07:00 committed by Qt by Nokia
parent dd2429551e
commit 93c960876a
2 changed files with 0 additions and 8 deletions

View File

@ -175,8 +175,6 @@ public:
static bool isEffectEnabled(Qt::UIEffect);
static void setEffectEnabled(Qt::UIEffect, bool enable = true);
static QPlatformNativeInterface *platformNativeInterface();
#ifndef QT_NO_SESSIONMANAGER
// session management
bool isSessionRestored() const;

View File

@ -437,12 +437,6 @@ void QApplication::alert(QWidget *, int)
{
}
QPlatformNativeInterface *QApplication::platformNativeInterface()
{
QPlatformIntegration *pi = QGuiApplicationPrivate::platformIntegration();
return pi->nativeInterface();
}
void qt_init(QApplicationPrivate *priv, int type)
{
Q_UNUSED(priv);