diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-30 11:46:06 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-30 11:46:06 -0300 |
commit | 8f713447085ab833201f469024a582f47e5b3c60 (patch) | |
tree | 2708d58a8a2142554ee488ff45b7597014df578e /qt-ui | |
parent | 085dca69e53255c717794c76d4a23a569936ed8e (diff) | |
download | subsurface-8f713447085ab833201f469024a582f47e5b3c60.tar.gz |
Removed the code to center-allign labels on the Statistics
Since I already put the center-allign label on the interface designer,
this was just dead code. getting rid of it.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/maintab.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index ca2f18ef0..57f0d1da5 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -55,12 +55,6 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent), if (label) label->setAlignment(Qt::AlignHCenter); } - QList<QObject *> statisticsTabWidgets = ui->statisticsTab->children(); - Q_FOREACH(QObject* obj, statisticsTabWidgets) { - QLabel* label = qobject_cast<QLabel *>(obj); - if (label) - label->setAlignment(Qt::AlignHCenter); - } /*Thid couldn't be done on the ui file because element is floating, instead of being fixed on the layout. */ |