Selaa lähdekoodia

Removed unused function

Andreas Fetzer 12 vuotta sitten
vanhempi
commit
d3904cbc3c

+ 0 - 15
Libs/DICOM/Widgets/ctkDICOMTableManager.cpp

@@ -171,21 +171,6 @@ void ctkDICOMTableManager::onChangeLayoutPushed()
   }
 }
 
-void ctkDICOMTableManager::changeTableLayout(QBoxLayout::Direction direction)
-{
-  Q_D(ctkDICOMTableManager);
-  d->layoutTables->removeWidget(d->patientsTable);
-  d->layoutTables->removeWidget(d->studiesTable);
-  d->layoutTables->removeWidget(d->seriesTable);
-  delete d->layoutTables;
-
-  d->layoutTables = new QBoxLayout(direction);
-  d->layoutTables->addWidget(d->patientsTable);
-  d->layoutTables->addWidget(d->studiesTable);
-  d->layoutTables->addWidget(d->seriesTable);
-  d->layout->addLayout(d->layoutTables);
-}
-
 void ctkDICOMTableManager::setCTKDICOMDatabase(QSharedPointer<ctkDICOMDatabase> db)
 {
   Q_D(ctkDICOMTableManager);

+ 0 - 2
Libs/DICOM/Widgets/ctkDICOMTableManager.h

@@ -54,8 +54,6 @@ private Q_SLOTS:
   void onChangeLayoutPushed();
 
 private:
-  void changeTableLayout(QBoxLayout::Direction direction);
-
   Q_DECLARE_PRIVATE(ctkDICOMTableManager)
   Q_DISABLE_COPY(ctkDICOMTableManager)
 };