From afc791dd73d5e744bdde1df698aaef5715bcb4cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Teuli=C3=A8re?= Date: Sun, 20 Jan 2013 20:31:33 +0100 Subject: [PATCH] MainWindow: no frame is needed for labels in the status bar --- qt/main_window.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/qt/main_window.cpp b/qt/main_window.cpp index 0c248be..eceeba1 100644 --- a/qt/main_window.cpp +++ b/qt/main_window.cpp @@ -133,14 +133,11 @@ MainWindow::MainWindow(QWidget *iParent) // 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); - m_dicNameLabel->setFrameStyle(QFrame::Sunken | QFrame::Panel); statusBar()->addPermanentWidget(m_dicNameLabel); QObject::connect(this, SIGNAL(dicChanged(const Dictionary*)), this, SLOT(updateStatusBar(const Dictionary*)));