diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-03-23 09:56:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-03-23 11:48:38 +0900 |
commit | 40ef766f02ea0e099a3fad77ed7eec519e2d5ec8 (patch) | |
tree | 2691377174181d81f7451ce83543ab83a5b057fc /kcontrol/hwmanager | |
parent | d048506bb65a3f77102f07f54c7bfc16c80e003e (diff) | |
download | tdebase-40ef766f02ea0e099a3fad77ed7eec519e2d5ec8.tar.gz tdebase-40ef766f02ea0e099a3fad77ed7eec519e2d5ec8.zip |
tdeio media: add releaseHolders parameter to lock/lockByNode dcop calls.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kcontrol/hwmanager')
-rw-r--r-- | kcontrol/hwmanager/devicepropsdlg.cpp | 2 | ||||
-rw-r--r-- | kcontrol/hwmanager/hwdevicetray.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kcontrol/hwmanager/devicepropsdlg.cpp b/kcontrol/hwmanager/devicepropsdlg.cpp index 9256110d2..1056aec57 100644 --- a/kcontrol/hwmanager/devicepropsdlg.cpp +++ b/kcontrol/hwmanager/devicepropsdlg.cpp @@ -990,7 +990,7 @@ void DevicePropertiesDialog::lockDisk() { // Use DCOP call instead of a tdehw call for consistent behavior across TDE DCOPRef mediamanager("kded", "mediamanager"); - DCOPReply reply = mediamanager.call("lockByNode", sdevice->deviceNode()); + DCOPReply reply = mediamanager.call("lockByNode", sdevice->deviceNode(), true); TQStringVariantMap lockResult; if (reply.isValid()) { reply.get(lockResult); diff --git a/kcontrol/hwmanager/hwdevicetray.cpp b/kcontrol/hwmanager/hwdevicetray.cpp index e79080072..5b7f51558 100644 --- a/kcontrol/hwmanager/hwdevicetray.cpp +++ b/kcontrol/hwmanager/hwdevicetray.cpp @@ -578,7 +578,7 @@ void HwDeviceSystemTray::slotLockDevice(int parameter) { // Use DCOP call instead of a tdehw call for consistent behavior across TDE DCOPRef mediamanager("kded", "mediamanager"); - DCOPReply reply = mediamanager.call("lockByNode", sdevice->deviceNode()); + DCOPReply reply = mediamanager.call("lockByNode", sdevice->deviceNode(), true); TQStringVariantMap lockResult; if (reply.isValid()) { |