1
0
Fork 0

Fix GCC indentation warning

This commit is contained in:
James Turner 2017-12-20 04:03:44 -08:00
parent 407a6d4b3e
commit 34630f935d

View file

@ -879,9 +879,10 @@ public:
private:
QScreen* qScreenFromSI(const osg::GraphicsContext::ScreenIdentifier& si)
{
QList<QScreen*> screens = QGuiApplication::screens();
if (screens.size() < si.screenNum)
return screens.at(si.screenNum);
QList<QScreen*> screens = QGuiApplication::screens();
if (screens.size() < si.screenNum) {
return screens.at(si.screenNum);
}
return QGuiApplication::primaryScreen();
}