Skip to content

Commit

Permalink
COMP: Fix -Wsign-promo in ctkDICOMVisualBrowserWidget
Browse files Browse the repository at this point in the history
Apply fix similar to 757b21d ("COMP: Fix -Wsign-promo in Widgets &
DICOMWidgets", 2023-04-14)
  • Loading branch information
jcfr committed Jan 12, 2024
1 parent dd2458e commit c949a75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Libs/DICOM/Widgets/ctkDICOMVisualBrowserWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,8 @@ void ctkDICOMVisualBrowserWidgetPrivate::init()
// Initialize directoryMode widget
QFormLayout *layout = new QFormLayout;
QComboBox* importDirectoryModeComboBox = new QComboBox();
importDirectoryModeComboBox->addItem(ctkDICOMVisualBrowserWidget::tr("Add Link"), ctkDICOMVisualBrowserWidget::ImportDirectoryAddLink);
importDirectoryModeComboBox->addItem(ctkDICOMVisualBrowserWidget::tr("Copy"), ctkDICOMVisualBrowserWidget::ImportDirectoryCopy);
importDirectoryModeComboBox->addItem(ctkDICOMVisualBrowserWidget::tr("Add Link"), static_cast<int>(ctkDICOMVisualBrowserWidget::ImportDirectoryAddLink));
importDirectoryModeComboBox->addItem(ctkDICOMVisualBrowserWidget::tr("Copy"), static_cast<int>(ctkDICOMVisualBrowserWidget::ImportDirectoryCopy));
importDirectoryModeComboBox->setToolTip(
ctkDICOMVisualBrowserWidget::tr("Indicate if the files should be copied to the local database"
" directory or if only links should be created ?"));
Expand Down

0 comments on commit c949a75

Please sign in to comment.