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:
|
private:
|
||||||
QScreen* qScreenFromSI(const osg::GraphicsContext::ScreenIdentifier& si)
|
QScreen* qScreenFromSI(const osg::GraphicsContext::ScreenIdentifier& si)
|
||||||
{
|
{
|
||||||
QList<QScreen*> screens = QGuiApplication::screens();
|
QList<QScreen*> screens = QGuiApplication::screens();
|
||||||
if (screens.size() < si.screenNum)
|
if (screens.size() < si.screenNum) {
|
||||||
return screens.at(si.screenNum);
|
return screens.at(si.screenNum);
|
||||||
|
}
|
||||||
|
|
||||||
return QGuiApplication::primaryScreen();
|
return QGuiApplication::primaryScreen();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue