mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
Fixed "window on top"
* do not show navigator * no longer "on top" does not mean "on bottom" * Qt::QueuedConnection
This commit is contained in:
committed by
Mat Sutcliffe
parent
3aa5794836
commit
ad22d8b45b
@@ -1118,7 +1118,7 @@ namespace BlackGui
|
||||
|
||||
bool CGuiApplication::toggleStayOnTop()
|
||||
{
|
||||
QWidget *w = CGuiApplication::mainApplicationWidget();
|
||||
QMainWindow *w = CGuiApplication::mainApplicationWindow();
|
||||
if (!w) { return false; }
|
||||
const bool onTop = CGuiUtility::toggleStayOnTop(w);
|
||||
CLogMessage(w).info(onTop ? QStringLiteral("Window on top") : QStringLiteral("Window not always on top"));
|
||||
|
||||
Reference in New Issue
Block a user