* we don't need our own Dict typedef here
* errorCode is no longer used * get the debug output in line with similar msgs in plasma svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668017
This commit is contained in:
parent
5d1eb7f460
commit
14a1013a16
@ -79,10 +79,9 @@ Plasma::DataEngine* DataEngineManager::loadDataEngine(const QString& name)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int errorCode = 0;
|
||||
engine = KService::createInstance<Plasma::DataEngine>(offers.first(), 0);
|
||||
if (!engine) {
|
||||
kDebug() << errorCode << " couldn't load engine! " << name << endl;
|
||||
kDebug() << "Couldn't load engine \"" << name << "\"!" << endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -27,9 +27,6 @@ namespace Plasma
|
||||
|
||||
class PLASMA_EXPORT DataEngineManager
|
||||
{
|
||||
public:
|
||||
typedef QHash<QString, Plasma::DataEngine*> Dict;
|
||||
|
||||
public:
|
||||
DataEngineManager();
|
||||
~DataEngineManager();
|
||||
@ -41,6 +38,8 @@ class PLASMA_EXPORT DataEngineManager
|
||||
QStringList knownEngines() const;
|
||||
|
||||
private:
|
||||
DataEngine::Dict m_engines;
|
||||
|
||||
class Private;
|
||||
Private* const d;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user