Merge "Merge remote-tracking branch 'origin/stable' into 5.3" into refs/staging/5.3

This commit is contained in:
Sergio Ahumada 2014-06-17 18:50:14 +02:00 committed by The Qt Project
commit cf7805d364
3 changed files with 4 additions and 3 deletions

View File

@ -75,7 +75,8 @@ QPlatformIntegration * QDirectFbIntegrationPlugin::create(const QString& system,
if (!integration) if (!integration)
return 0; return 0;
integration->initialize(); integration->connectToDirectFb();
return integration; return integration;
} }

View File

@ -64,7 +64,7 @@ QDirectFbIntegration::QDirectFbIntegration()
{ {
} }
void QDirectFbIntegration::initialize() void QDirectFbIntegration::connectToDirectFb()
{ {
initializeDirectFB(); initializeDirectFB();
initializeScreen(); initializeScreen();

View File

@ -60,7 +60,7 @@ public:
QDirectFbIntegration(); QDirectFbIntegration();
~QDirectFbIntegration(); ~QDirectFbIntegration();
void initialize(); void connectToDirectFb();
QPlatformPixmap *createPlatformPixmap(QPlatformPixmap::PixelType type) const; QPlatformPixmap *createPlatformPixmap(QPlatformPixmap::PixelType type) const;
QPlatformWindow *createPlatformWindow(QWindow *window) const; QPlatformWindow *createPlatformWindow(QWindow *window) const;