Remove unused kglobal.h includes, thx to tsdgeos' magic bash line
Replace a few more KGlobal::locale with KLocale::global
This commit is contained in:
parent
3d0d287103
commit
6c932bca0f
@ -705,7 +705,7 @@ void DataEnginePrivate::setupScriptSupport()
|
||||
const QString translationsPath = package->filePath("translations");
|
||||
if (!translationsPath.isEmpty()) {
|
||||
KGlobal::dirs()->addResourceDir("locale", translationsPath);
|
||||
KGlobal::locale()->insertCatalog(dataEngineDescription.pluginName());
|
||||
KLocale::global()->insertCatalog(dataEngineDescription.pluginName());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include <QTextStream>
|
||||
|
||||
#include <kdebug.h>
|
||||
#include <kglobal.h>
|
||||
#include <klocale.h>
|
||||
|
||||
#include <kservicetypetrader.h>
|
||||
@ -214,7 +213,7 @@ void DataEngineManager::timerEvent(QTimerEvent *)
|
||||
QTextStream out(&f);
|
||||
|
||||
QHashIterator<QString, DataEngine*> it(d->engines);
|
||||
out << "================================== " << KGlobal::locale()->formatDateTime(QDateTime::currentDateTime()) << endl;
|
||||
out << "================================== " << KLocale::global()->formatDateTime(QDateTime::currentDateTime()) << endl;
|
||||
while (it.hasNext()) {
|
||||
it.next();
|
||||
DataEngine *engine = it.value();
|
||||
|
Loading…
x
Reference in New Issue
Block a user