Fix KF6 runtime integration warnings
This commit is contained in:
@@ -207,7 +207,7 @@ void KMessInterface::createMenus()
|
||||
|
||||
|
||||
// Add shortcut for Search in ContactList
|
||||
showSearchAction_->setShortcut( QKeySequence::fromString( tr( "Ctrl+f" ) ) );
|
||||
actionCollection()->setDefaultShortcut( showSearchAction_, QKeySequence::fromString( tr( "Ctrl+f" ) ) );
|
||||
|
||||
// Disable the context menu, because there's no selection on start
|
||||
contextMenuAction_->setEnabled( false );
|
||||
@@ -223,9 +223,9 @@ void KMessInterface::createMenus()
|
||||
this, SLOT ( changeStatus(QAction*) ) );
|
||||
|
||||
// Connect slots to signals for "View" menu
|
||||
connect( viewMode_, SIGNAL( triggered(int) ),
|
||||
connect( viewMode_, SIGNAL( indexTriggered(int) ),
|
||||
this, SLOT ( changeViewMode(int) ) );
|
||||
connect( listPictureSize_, SIGNAL( triggered(int) ),
|
||||
connect( listPictureSize_, SIGNAL( indexTriggered(int) ),
|
||||
this, SLOT ( changedListPictureSize(int) ) );
|
||||
connect( showAllowedAction_, SIGNAL( triggered(bool) ),
|
||||
this, SLOT ( toggleShowAllowed(bool) ) );
|
||||
|
||||
Reference in New Issue
Block a user