Commit 243c781f authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Properly set the kdevplatform catalog

parent 3b6e5630
......@@ -72,6 +72,7 @@ set_package_properties(Grantlee PROPERTIES
PURPOSE "Grantlee templating library, needed for file templates"
URL "http://www.grantlee.org/")
add_definitions(-DTRANSLATION_DOMAIN=\"kdevplatform\")
add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQURL_NO_CAST_FROM_QSTRING)
remove_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0) # comes from KDELibs4Support
add_definitions(-DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000)
......
......@@ -798,9 +798,6 @@ SessionRunInfo SessionController::sessionRunInfo(const QString& id)
QString SessionController::showSessionChooserDialog(QString headerText, bool onlyRunning)
{
// The catalog hasn't been loaded yet
KGlobal::locale()->insertCatalog("kdevplatform");
///FIXME: move this code into sessiondialog.cpp
QListView* view = new QListView;
KLineEdit* filter = new KLineEdit;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment