Cleaned up the code
authorKaj Wallin <kaj.wallin@ixonos.com>
Wed, 31 Mar 2010 05:21:28 +0000 (08:21 +0300)
committerKaj Wallin <kaj.wallin@ixonos.com>
Wed, 31 Mar 2010 05:21:28 +0000 (08:21 +0300)
src/ui/mainwindow.cpp
src/ui/mainwindow.h

index 358f97e..b67ba1d 100644 (file)
@@ -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);
index d00090f..f249c24 100644 (file)
@@ -27,9 +27,6 @@
 #include <QtGui/QMainWindow>
 #include <QWidget>
 
-class QMenu;
-class QAction;
-class QTabBar;
 class QLabel;
 class QStackedWidget;