aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-31 07:11:56 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-31 07:11:56 +0900
commit616a2e7e5a21257e6c017e161d163c8636aa66c7 (patch)
treeb4fc93959927a5518b495ef3dc591009d75e538a /qt-ui/maintab.cpp
parentc972c7cbd9461041cc2cf8689e32f9a8fd04f66f (diff)
parentbd6dfa1ebd790469fa77d220e6eea8cd11cff848 (diff)
downloadsubsurface-616a2e7e5a21257e6c017e161d163c8636aa66c7.tar.gz
Merge branch 'bug_123_designInfo' of https://github.com/tcanabrava/subsurface
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r--qt-ui/maintab.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index ca2f18ef0..1de80271e 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -48,13 +48,6 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent),
ui->rating->installEventFilter(this);
ui->visibility->installEventFilter(this);
- /* example of where code is more concise than Qt designer */
- QList<QObject *> infoTabWidgets = ui->infoTab->children();
- Q_FOREACH(QObject* obj, infoTabWidgets) {
- QLabel* label = qobject_cast<QLabel *>(obj);
- if (label)
- label->setAlignment(Qt::AlignHCenter);
- }
QList<QObject *> statisticsTabWidgets = ui->statisticsTab->children();
Q_FOREACH(QObject* obj, statisticsTabWidgets) {
QLabel* label = qobject_cast<QLabel *>(obj);