Fixed "window on top"

* do not show navigator
* no longer "on top" does not mean "on bottom"
* Qt::QueuedConnection
This commit is contained in:
Klaus Basan
2019-05-24 23:52:37 +02:00
committed by Mat Sutcliffe
parent 3aa5794836
commit ad22d8b45b
5 changed files with 8 additions and 7 deletions

View File

@@ -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"));