mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
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>
This commit is contained in:
parent
085dca69e5
commit
8f71344708
1 changed files with 0 additions and 6 deletions
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue