mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 10:22:49 +00:00
soliduiserver: move the handleActions() call to the scope it should be
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
566830cdc6
commit
ab1d46e3c7
1 changed files with 1 additions and 1 deletions
|
@ -293,8 +293,8 @@ void SolidUiServer::slotDeviceRemoved(const QString &udi)
|
|||
QMutableListIterator<Solid::Device> iter(m_soliddevices);
|
||||
while (iter.hasNext()) {
|
||||
Solid::Device soliddevice = iter.next();
|
||||
handleActions(soliddevice, false);
|
||||
if (soliddevice.udi() == udi) {
|
||||
handleActions(soliddevice, false);
|
||||
iter.remove();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue