From 47d577b7669e2ff7ea331f75e33911ddf7bffd05 Mon Sep 17 00:00:00 2001 From: Sky Date: Thu, 2 Jan 2014 19:47:34 +0000 Subject: Don't show extra space in status bar, tweak "none selected" message --- gui/MainWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/MainWindow.cpp b/gui/MainWindow.cpp index b55be903..01967b63 100644 --- a/gui/MainWindow.cpp +++ b/gui/MainWindow.cpp @@ -175,11 +175,11 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi // FIXME: stop using POINTERS everywhere connect(MMC->instances().get(), SIGNAL(dataIsInvalid()), SLOT(selectionBad())); - m_statusLeft = new QLabel(tr("Instance type"), this); + m_statusLeft = new QLabel(tr("No instance selected"), this); m_statusRight = new QLabel(this); m_statusRight->setAlignment(Qt::AlignRight); statusBar()->addPermanentWidget(m_statusLeft, 1); - statusBar()->addPermanentWidget(m_statusRight, 0); + //statusBar()->addPermanentWidget(m_statusRight, 0); // Add "manage accounts" button, right align QWidget *spacer = new QWidget(); -- cgit v1.2.3