mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
GUI improvements found during #707
* logs only screen in core as default * find top window, only use Qt::WA_TranslucentBackground on top level (Qt 5.6.1) * correct presize when insert * resize ATC when first station is added
This commit is contained in:
@@ -339,4 +339,9 @@ namespace BlackGui
|
||||
}
|
||||
return rows;
|
||||
}
|
||||
|
||||
bool CGuiUtility::isTopLevelWidget(QWidget *widget)
|
||||
{
|
||||
return QApplication::topLevelWidgets().contains(widget);
|
||||
}
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user