diff options
Diffstat (limited to 'qt-ui/maintab.cpp')
-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. */ |