summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/blackberry/qbbintegration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/blackberry/qbbintegration.cpp')
-rw-r--r--src/plugins/platforms/blackberry/qbbintegration.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/platforms/blackberry/qbbintegration.cpp b/src/plugins/platforms/blackberry/qbbintegration.cpp
index e329bbe..5137431 100644
--- a/src/plugins/platforms/blackberry/qbbintegration.cpp
+++ b/src/plugins/platforms/blackberry/qbbintegration.cpp
@@ -361,13 +361,13 @@ void QBBIntegration::createDisplays()
if (!isAttached)
continue;
- createDisplay(displays[i], i == 0);
+ createDisplay(displays[i], i);
} // of displays iteration
}
-void QBBIntegration::createDisplay(screen_display_t display, bool isPrimary)
+void QBBIntegration::createDisplay(screen_display_t display, int screenIndex)
{
- QBBScreen *screen = new QBBScreen(mContext, display, isPrimary);
+ QBBScreen *screen = new QBBScreen(mContext, display, screenIndex);
mScreens.append(screen);
QObject::connect(mScreenEventHandler, SIGNAL(newWindowCreated(screen_window_t)),