From: Shaun Reich Date: Sat, 14 Feb 2009 19:45:25 +0000 (+0000) Subject: Changed connections of the signals activated(), to currentIndexChanged() as used... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/4157103173b1718262e8c329219461f0d67b2a2a?ds=inline Changed connections of the signals activated(), to currentIndexChanged() as used in 3 QComboBoxes. Remember that activated() is not always triggered when the selected item is changed. svn path=/trunk/KDE/kdebase/apps/; revision=926180 --- diff --git a/src/settings/viewpropertiesdialog.cpp b/src/settings/viewpropertiesdialog.cpp index 700bdb90b..ba8de4d9c 100644 --- a/src/settings/viewpropertiesdialog.cpp +++ b/src/settings/viewpropertiesdialog.cpp @@ -149,11 +149,11 @@ ViewPropertiesDialog::ViewPropertiesDialog(DolphinView* dolphinView) : topLayout->addWidget(propsBox); - connect(m_viewMode, SIGNAL(activated(int)), + connect(m_viewMode, SIGNAL(currentIndexChanged(int)), this, SLOT(slotViewModeChanged(int))); - connect(m_sorting, SIGNAL(activated(int)), + connect(m_sorting, SIGNAL(currentIndexChanged(int)), this, SLOT(slotSortingChanged(int))); - connect(m_sortOrder, SIGNAL(activated(int)), + connect(m_sortOrder, SIGNAL(currentIndexChanged(int)), this, SLOT(slotSortOrderChanged(int))); connect(m_additionalInfo, SIGNAL(clicked()), this, SLOT(configureAdditionalInfo()));