From: Shaun Reich Date: Wed, 28 Jan 2009 21:27:16 +0000 (+0000) Subject: Default size and Preview size sliders, were using wrong signal to notify that setting... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/2632ea2643f5b5a27bc29e14b9ddc8878f3a2999 Default size and Preview size sliders, were using wrong signal to notify that settings have changed. The keyboard, when used on the slider, wouldn't enable the apply button, nor clicking to either side of the slider to change it. sliderMoved signal emission changed to valueChanged. Effects all tabs in Settings Dialog->View Modes. svn path=/trunk/KDE/kdebase/apps/; revision=917972 --- diff --git a/src/settings/iconsizegroupbox.cpp b/src/settings/iconsizegroupbox.cpp index 82698e7b7..860638cc3 100644 --- a/src/settings/iconsizegroupbox.cpp +++ b/src/settings/iconsizegroupbox.cpp @@ -40,14 +40,14 @@ IconSizeGroupBox::IconSizeGroupBox(QWidget* parent) : m_defaultSizeSlider = new QSlider(Qt::Horizontal, this); m_defaultSizeSlider->setPageStep(1); m_defaultSizeSlider->setTickPosition(QSlider::TicksBelow); - connect(m_defaultSizeSlider, SIGNAL(sliderMoved(int)), + connect(m_defaultSizeSlider, SIGNAL(valueChanged(int)), this, SLOT(slotDefaultSliderMoved(int))); QLabel* previewLabel = new QLabel(i18nc("@label:listbox", "Preview:"), this); m_previewSizeSlider = new QSlider(Qt::Horizontal, this); m_previewSizeSlider->setPageStep(1); m_previewSizeSlider->setTickPosition(QSlider::TicksBelow); - connect(m_previewSizeSlider, SIGNAL(sliderMoved(int)), + connect(m_previewSizeSlider, SIGNAL(valueChanged(int)), this, SLOT(slotPreviewSliderMoved(int))); QGridLayout* layout = new QGridLayout(this);