Explorar o código

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 %!s(int64=10) %!d(string=hai) anos
pai
achega
65420ed0eb
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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();
 }
 
 //------------------------------------------------------------------------------