diff --git a/kcms/input/backends/x11/evdev_settings.cpp b/kcms/input/backends/x11/evdev_settings.cpp --- a/kcms/input/backends/x11/evdev_settings.cpp +++ b/kcms/input/backends/x11/evdev_settings.cpp @@ -81,8 +81,6 @@ dragStartTime = group.readEntry("StartDragTime", 500); dragStartDist = group.readEntry("StartDragDist", 4); wheelScrollLines = group.readEntry("WheelScrollLines", 3); - - singleClick = group.readEntry("SingleClick", true); } // see KGlobalSettings::emitChange @@ -127,7 +125,6 @@ group.writeEntry("StartDragTime", dragStartTime, KConfig::Persistent); group.writeEntry("StartDragDist", dragStartDist, KConfig::Persistent); group.writeEntry("WheelScrollLines", wheelScrollLines, KConfig::Persistent); - group.writeEntry("SingleClick", singleClick, KConfig::Persistent); group.sync(); kcminputProfile->sync(); diff --git a/kcms/input/kcm/xlib/kcmmouse.ui b/kcms/input/kcm/xlib/kcmmouse.ui --- a/kcms/input/kcm/xlib/kcmmouse.ui +++ b/kcms/input/kcm/xlib/kcmmouse.ui @@ -134,50 +134,6 @@ - - - Icons - - - true - - - - - - The default behavior in KDE is to select and activate icons with a single click of the left button on your pointing device. This behavior is consistent with what you would expect when you click links in most web browsers. If you would prefer to select with a single click, and activate with a double click, check this option. - - - Dou&ble-click to open files and folders (select icons on first click) - - - false - - - clickGroup - - - - - - - Activates and opens a file or folder with a single click. - - - &Single-click to open files and folders - - - true - - - clickGroup - - - - - - - Qt::Vertical diff --git a/kcms/input/kcm/xlib/xlib_config.cpp b/kcms/input/kcm/xlib/xlib_config.cpp --- a/kcms/input/kcm/xlib/xlib_config.cpp +++ b/kcms/input/kcm/xlib/xlib_config.cpp @@ -63,9 +63,7 @@ connect(handedGroup, SIGNAL(buttonClicked(int)), m_parent, SLOT(changed())); connect(handedGroup, SIGNAL(buttonClicked(int)), this, SLOT(slotHandedChanged(int))); - connect(doubleClick, SIGNAL(clicked()), m_parent, SLOT(changed())); - connect(singleClick, SIGNAL(clicked()), m_parent, SLOT(changed())); connect(cbScrollPolarity, SIGNAL(clicked()), m_parent, SLOT(changed())); connect(cbScrollPolarity, SIGNAL(clicked()), this, SLOT(slotScrollPolarityChanged())); @@ -200,9 +198,6 @@ dragStartDist->setValue(settings->dragStartDist); wheelScrollLines->setValue(settings->wheelScrollLines); - singleClick->setChecked(settings->singleClick); - doubleClick->setChecked(!settings->singleClick); - KConfig ac("kaccessrc"); KConfigGroup group = ac.group("Mouse"); @@ -245,7 +240,6 @@ settings->dragStartTime = dragStartTime->value(); settings->dragStartDist = dragStartDist->value(); settings->wheelScrollLines = wheelScrollLines->value(); - settings->singleClick = !doubleClick->isChecked(); settings->reverseScrollPolarity = cbScrollPolarity->isChecked(); m_backend->apply(); @@ -282,8 +276,6 @@ dragStartTime->setValue(500); dragStartDist->setValue(4); wheelScrollLines->setValue(3); - doubleClick->setChecked(!KDE_DEFAULT_SINGLECLICK); - singleClick->setChecked(KDE_DEFAULT_SINGLECLICK); mouseKeys->setChecked(false); mk_delay->setValue(160);