Commit 75b5ab1c authored by Sebastian Trueg's avatar Sebastian Trueg
Browse files

Use the correct cataloge for the stub app itself and the service.

Thanks go to Lasse Liehu for the patch which loads the cataloge for the
started service and, thus, makes sure messages from the file indexer
service are translated.
BUG: 272900
parent 7db70055
......@@ -65,7 +65,8 @@ namespace {
int main( int argc, char** argv )
{
KAboutData aboutData( "nepomukservicestub", "nepomuk",
KAboutData aboutData( "nepomukservicestub",
"nepomukservicestub",
ki18n("Nepomuk Service Stub"),
"0.2",
ki18n("Nepomuk Service Stub"),
......@@ -102,6 +103,7 @@ int main( int argc, char** argv )
app.disableSessionManagement();
installSignalHandler();
QApplication::setQuitOnLastWindowClosed( false );
KGlobal::locale()->insertCatalog( serviceName );
// check if NepomukServer is running
......
Supports Markdown
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