summaryrefslogtreecommitdiffstats
path: root/kde/patch/kdelibs/kdelibs.fstab.patch
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2014-12-22 15:09:16 +0100
committer Eric Hameleers <alien@slackware.com>2014-12-22 15:09:16 +0100
commit8d7dd4892e8aa73ce7c3ea73f48a5274e48f5428 (patch)
treef3e3dc663a60572cf6a7feb61af560b83ac81221 /kde/patch/kdelibs/kdelibs.fstab.patch
parenteb82fdc2eafc3d1b5f837fcda2c4903106d9d79a (diff)
downloadktown-4.9.5.tar.gz
ktown-4.9.5.tar.xz
KDE 4.9.5 for Slackware 14.0 (02jan2013)4.9.5
Diffstat (limited to 'kde/patch/kdelibs/kdelibs.fstab.patch')
-rw-r--r--kde/patch/kdelibs/kdelibs.fstab.patch47
1 files changed, 0 insertions, 47 deletions
diff --git a/kde/patch/kdelibs/kdelibs.fstab.patch b/kde/patch/kdelibs/kdelibs.fstab.patch
deleted file mode 100644
index a57662b..0000000
--- a/kde/patch/kdelibs/kdelibs.fstab.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From: Alex Fiestas <afiestas@kde.org>
-Date: Tue, 05 Jun 2012 16:12:28 +0000
-Subject: Emit deviceRemoved/Added with the right deviceList set
-X-Git-Url: http://quickgit.kde.org/?p=kdelibs.git&amp;a=commitdiff&amp;h=19213a6c34e1b47a100815ccbfee8b5c70c3c12a
----
-Emit deviceRemoved/Added with the right deviceList set
-
-The problem is quite straightforward, deviceAdded is being emitted when
-the m_deviceList has the OLD list, so the new device is still NOT in it.
-If the user of the library instances a device Solid::Device(UDI) in the
-slot after that signal, the device will be null because it will not be
-found in m_deviceList.
-
-REVIEW: 105132
----
-
-
---- a/solid/solid/backends/fstab/fstabmanager.cpp
-+++ b/solid/solid/backends/fstab/fstabmanager.cpp
-@@ -116,17 +116,19 @@ void FstabManager::_k_updateDeviceList()
- QSet<QString> newlist = deviceList.toSet();
- QSet<QString> oldlist = m_deviceList.toSet();
-
-- foreach(const QString &device, newlist) {
-- if ( !oldlist.contains(device) )
-- emit deviceAdded(udiPrefix() + "/" + device);
-- }
--
- foreach(const QString &device, oldlist) {
-- if ( !newlist.contains(device) )
-+ if ( !newlist.contains(device) ) {
- emit deviceRemoved(udiPrefix() + "/" + device);
-+ }
- }
-
- m_deviceList = deviceList;
-+
-+ foreach(const QString &device, newlist) {
-+ if ( !oldlist.contains(device) ) {
-+ emit deviceAdded(udiPrefix() + "/" + device);
-+ }
-+ }
- }
-
- void FstabManager::onMtabChanged()
-
-