From 8f713447085ab833201f469024a582f47e5b3c60 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Thu, 30 May 2013 11:46:06 -0300 Subject: 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 --- qt-ui/maintab.cpp | 6 ------ 1 file changed, 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 statisticsTabWidgets = ui->statisticsTab->children(); - Q_FOREACH(QObject* obj, statisticsTabWidgets) { - QLabel* label = qobject_cast(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. */ -- cgit v1.2.3-70-g09d2