mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2024-12-27 09:58:08 +01:00
Fix a visual glitch on the status bar
This commit is contained in:
parent
81f2507181
commit
7f31fe8b0e
1 changed files with 2 additions and 0 deletions
|
@ -126,9 +126,11 @@ MainWindow::MainWindow(QWidget *iParent)
|
||||||
statusBar()->addWidget(new QLabel, 1);
|
statusBar()->addWidget(new QLabel, 1);
|
||||||
// First widget, not added yet
|
// First widget, not added yet
|
||||||
m_lettersLabel = new QLabel(statusBar());
|
m_lettersLabel = new QLabel(statusBar());
|
||||||
|
m_lettersLabel->setVisible(false);
|
||||||
m_lettersLabel->setFrameStyle(QFrame::Sunken | QFrame::Panel);
|
m_lettersLabel->setFrameStyle(QFrame::Sunken | QFrame::Panel);
|
||||||
// Second widget, not added yet
|
// Second widget, not added yet
|
||||||
m_turnLabel = new QLabel(statusBar());
|
m_turnLabel = new QLabel(statusBar());
|
||||||
|
m_turnLabel->setVisible(false);
|
||||||
m_turnLabel->setFrameStyle(QFrame::Sunken | QFrame::Panel);
|
m_turnLabel->setFrameStyle(QFrame::Sunken | QFrame::Panel);
|
||||||
// Third widget
|
// Third widget
|
||||||
m_dicNameLabel = new QLabel(this);
|
m_dicNameLabel = new QLabel(this);
|
||||||
|
|
Loading…
Reference in a new issue