From 7f31fe8b0e918f410b6df4ee738a1b4488ec6327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Teuli=C3=A8re?= Date: Wed, 7 Nov 2012 01:32:30 +0100 Subject: [PATCH] Fix a visual glitch on the status bar --- qt/main_window.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qt/main_window.cpp b/qt/main_window.cpp index fb31f83..d7c3b4a 100644 --- a/qt/main_window.cpp +++ b/qt/main_window.cpp @@ -126,9 +126,11 @@ MainWindow::MainWindow(QWidget *iParent) statusBar()->addWidget(new QLabel, 1); // First widget, not added yet m_lettersLabel = new QLabel(statusBar()); + m_lettersLabel->setVisible(false); m_lettersLabel->setFrameStyle(QFrame::Sunken | QFrame::Panel); // Second widget, not added yet m_turnLabel = new QLabel(statusBar()); + m_turnLabel->setVisible(false); m_turnLabel->setFrameStyle(QFrame::Sunken | QFrame::Panel); // Third widget m_dicNameLabel = new QLabel(this);