kfind: adjust to KGlobalSettings changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-08-24 01:50:20 +03:00
parent 3f85de5864
commit 39b8ffd1a6

View file

@ -333,7 +333,7 @@ KFindTreeView::KFindTreeView( QWidget *parent, KfindDlg * findDialog )
this, SLOT(contextMenuRequested(QPoint)));
//Mouse single/double click settings
connect( KGlobalSettings::self(), SIGNAL(settingsChanged(int)), this, SLOT(reconfigureMouseSettings()) );
connect( KGlobalSettings::self(), SIGNAL(mouseChanged()), this, SLOT(reconfigureMouseSettings()) );
reconfigureMouseSettings();
// TODO: this is a workaround until Qt-issue 176832 has been fixed (from Dolphin)