Fix GCC indentation warning
This commit is contained in:
parent
407a6d4b3e
commit
34630f935d
1 changed files with 4 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue