Prechádzať zdrojové kódy

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 rokov pred
rodič
commit
65420ed0eb
1 zmenil súbory, kde vykonal 0 pridanie a 1 odobranie
  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();
 }
 
 //------------------------------------------------------------------------------