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:
parent
dd2429551e
commit
93c960876a
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user