[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Bkde-workspace=5D_plasma/generic/dataengines/hotplug?=
From: Aaron Seigo <aseigo () kde ! org>
Date: 2011-02-01 3:03:03
Message-ID: 20110201030303.40662A60B4 () git ! kde ! org
[Download RAW message or body]
Git commit dfdcde9139b34ebfcd8da15c8e7a35a14cb62e1f by Aaron Seigo.
Committed on 30/01/11 at 22:23.
Pushed by aseigo into branch 'master'.
const
M +1 -1 plasma/generic/dataengines/hotplug/hotplugengine.cpp
M +1 -1 plasma/generic/dataengines/hotplug/hotplugengine.h
http://commits.kde.org/kde-workspace/dfdcde9139b34ebfcd8da15c8e7a35a14cb62e1f
diff --git a/plasma/generic/dataengines/hotplug/hotplugengine.cpp \
b/plasma/generic/dataengines/hotplug/hotplugengine.cpp index d93a60b..397823a 100644
--- a/plasma/generic/dataengines/hotplug/hotplugengine.cpp
+++ b/plasma/generic/dataengines/hotplug/hotplugengine.cpp
@@ -140,7 +140,7 @@ void HotplugEngine::updatePredicates(const QString &path)
}
}
-QStringList HotplugEngine::predicatesForDevice(Solid::Device &device)
+QStringList HotplugEngine::predicatesForDevice(Solid::Device &device) const
{
QStringList interestingDesktopFiles;
//search in all desktop configuration file if the device inserted is a correct \
device
diff --git a/plasma/generic/dataengines/hotplug/hotplugengine.h \
b/plasma/generic/dataengines/hotplug/hotplugengine.h index 739a818..d3ba3f8 100644
--- a/plasma/generic/dataengines/hotplug/hotplugengine.h
+++ b/plasma/generic/dataengines/hotplug/hotplugengine.h
@@ -48,7 +48,7 @@ class HotplugEngine : public Plasma::DataEngine
private:
void onDeviceAdded(Solid::Device &dev, bool added = true);
void findPredicates();
- QStringList predicatesForDevice(Solid::Device &device);
+ QStringList predicatesForDevice(Solid::Device &device) const;
private Q_SLOTS:
void processNextStartupDevice();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic