From b10f5c6f997cbca57833f758b06f6ce3ba4bc610 Mon Sep 17 00:00:00 2001 From: Kaj Wallin Date: Wed, 31 Mar 2010 08:21:28 +0300 Subject: [PATCH] Cleaned up the code --- src/ui/mainwindow.cpp | 1 + src/ui/mainwindow.h | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp index 358f97e..b67ba1d 100644 --- a/src/ui/mainwindow.cpp +++ b/src/ui/mainwindow.cpp @@ -33,6 +33,7 @@ MainWindow::MainWindow(QWidget *parent) createViews(); QVBoxLayout *mainLayout = new QVBoxLayout; infoLabel = new QLabel(tr("Click \"view\", to change between views"),this); + infoLabel->setAttribute(Qt::WA_TranslucentBackground, true); mainLayout->addWidget(infoLabel); mainLayout->addWidget(situareViews); widget->setLayout(mainLayout); diff --git a/src/ui/mainwindow.h b/src/ui/mainwindow.h index d00090f..f249c24 100644 --- a/src/ui/mainwindow.h +++ b/src/ui/mainwindow.h @@ -27,9 +27,6 @@ #include #include -class QMenu; -class QAction; -class QTabBar; class QLabel; class QStackedWidget; -- 1.7.9.5