Selaa lähdekoodia

Fixed duplicate connection to Qt signal/slots in ctkDICOMTableView

The reason was an unnecessary call of setUpTableView which performed the connection
to the signal/slots every time when invoked.
Andreas Fetzer 10 vuotta sitten
vanhempi
commit
65420ed0eb
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  1. 0 1
      Libs/DICOM/Widgets/ctkDICOMTableView.cpp

+ 0 - 1
Libs/DICOM/Widgets/ctkDICOMTableView.cpp

@@ -382,7 +382,6 @@ void ctkDICOMTableView::setTableSectionSize(int size)
 {
   Q_D(ctkDICOMTableView);
   d->tblDicomDatabaseView->verticalHeader()->setDefaultSectionSize(size);
-  d->setUpTableView();
 }
 
 //------------------------------------------------------------------------------