mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
soliduiserver: update the actions before handling the device add event
because removing device removes the actions for the device Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
e695a67ae9
commit
a3cfbac5d2
1 changed files with 1 additions and 1 deletions
|
@ -310,9 +310,9 @@ void SolidUiServer::handleActions(const Solid::Device &soliddevice, const bool a
|
|||
|
||||
void SolidUiServer::slotDeviceAdded(const QString &udi)
|
||||
{
|
||||
m_solidactions = kSolidDeviceActions();
|
||||
Solid::Device soliddevice(udi);
|
||||
handleActions(soliddevice, true);
|
||||
m_solidactions = kSolidDeviceActions();
|
||||
}
|
||||
|
||||
void SolidUiServer::slotDeviceRemoved(const QString &udi)
|
||||
|
|
Loading…
Add table
Reference in a new issue