diff options
author | Manuel Schneider | 2014-07-22 11:26:19 +0200 |
---|---|---|
committer | Manuel Schneider | 2014-07-22 11:26:19 +0200 |
commit | f4cf437a81ee57bcfd5fbadca1aec2f1340f4b58 (patch) | |
tree | 8bb75859899c438a2649aeaa88249a0b94f5f62b | |
parent | Remove dead button action. (diff) | |
download | pvs2-f4cf437a81ee57bcfd5fbadca1aec2f1340f4b58.tar.gz pvs2-f4cf437a81ee57bcfd5fbadca1aec2f1340f4b58.tar.xz pvs2-f4cf437a81ee57bcfd5fbadca1aec2f1340f4b58.zip |
Show window after setting it up, preventing flickering on start.
-rw-r--r-- | src/client/toolbar/toolbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/toolbar/toolbar.cpp b/src/client/toolbar/toolbar.cpp index 954bf24..bdbf601 100644 --- a/src/client/toolbar/toolbar.cpp +++ b/src/client/toolbar/toolbar.cpp @@ -51,7 +51,6 @@ Toolbar::Toolbar(QWidget *parent) : setWindowFlags(Qt::WindowStaysOnTopHint | Qt::X11BypassWindowManagerHint | Qt::FramelessWindowHint); setAttribute(Qt::WA_AlwaysShowToolTips); setAttribute(Qt::WA_QuitOnClose); - setVisible(true); /* Create the VNC Window */ _vnc = new VncWindow(NULL); @@ -89,6 +88,7 @@ Toolbar::Toolbar(QWidget *parent) : _hideTimer.setInterval(500); _hideTimer.setSingleShot(true); connect(&_hideTimer, SIGNAL(timeout()), this, SLOT(hideBar())); + setVisible(true); _hideTimer.start(); // initially show PVS and hide later /* Setup blink timer */ |