Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
kdelibs4
patch-r895896.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File patch-r895896.diff of Package kdelibs4
Subject: make klineedit completion actions always checkable From: wstephenson@suse.de Bug: Patch-upstream: 895896 --- kdeui/widgets/klineedit.cpp (revision 895895) +++ kdeui/widgets/klineedit.cpp (revision 895896) @@ -1126,12 +1126,19 @@ QMenu* KLineEdit::createStandardContextM //subMenu->setAccel( KStandardShortcut::completion(), ShellCompletion ); - d->shellCompletionAction->setCheckable( !d->disableCompletionMap[ KGlobalSettings::CompletionShell ] ); - d->noCompletionAction->setCheckable( !d->disableCompletionMap[ KGlobalSettings::CompletionNone ] ); - d->popupCompletionAction->setCheckable( !d->disableCompletionMap[ KGlobalSettings::CompletionPopup ] ); - d->autoCompletionAction->setCheckable( !d->disableCompletionMap[ KGlobalSettings::CompletionAuto ] ); - d->shortAutoCompletionAction->setCheckable( !d->disableCompletionMap[ KGlobalSettings::CompletionMan ] ); - d->popupAutoCompletionAction->setCheckable( !d->disableCompletionMap[ KGlobalSettings::CompletionPopupAuto ] ); + d->shellCompletionAction->setCheckable( true ); + d->noCompletionAction->setCheckable( true ); + d->popupCompletionAction->setCheckable( true ); + d->autoCompletionAction->setCheckable( true ); + d->shortAutoCompletionAction->setCheckable( true ); + d->popupAutoCompletionAction->setCheckable( true ); + + d->shellCompletionAction->setEnabled( !d->disableCompletionMap[ KGlobalSettings::CompletionShell ] ); + d->noCompletionAction->setEnabled( !d->disableCompletionMap[ KGlobalSettings::CompletionNone ] ); + d->popupCompletionAction->setEnabled( !d->disableCompletionMap[ KGlobalSettings::CompletionPopup ] ); + d->autoCompletionAction->setEnabled( !d->disableCompletionMap[ KGlobalSettings::CompletionAuto ] ); + d->shortAutoCompletionAction->setEnabled( !d->disableCompletionMap[ KGlobalSettings::CompletionMan ] ); + d->popupAutoCompletionAction->setEnabled( !d->disableCompletionMap[ KGlobalSettings::CompletionPopupAuto ] ); KGlobalSettings::Completion mode = completionMode(); d->noCompletionAction->setChecked( mode == KGlobalSettings::CompletionNone ); Index: kdeui/widgets/klineedit.cpp ===================================================================
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor