Fix a visual glitch on the status bar

This commit is contained in:
Olivier Teulière 2012-11-07 01:32:30 +01:00
parent 81f2507181
commit 7f31fe8b0e

View file

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