From df14f647ff1a60ca82e0fa9bd91458be146153b8 Mon Sep 17 00:00:00 2001 From: zecke Date: Sat, 16 Oct 2004 00:01:01 +0000 Subject: Replace QPEApplication::qpeDir() + "/ with QPEApplication::qpeDir() + " as it is guranteed that qpeDir() will have '/' as the last charachter --- (limited to 'noncore/settings/networksettings/mainwindow') diff --git a/noncore/settings/networksettings/mainwindow/mainwindowimp.cpp b/noncore/settings/networksettings/mainwindow/mainwindowimp.cpp index fb7d7c9..5f23aea 100644 --- a/noncore/settings/networksettings/mainwindow/mainwindowimp.cpp +++ b/noncore/settings/networksettings/mainwindow/mainwindowimp.cpp @@ -288,7 +288,7 @@ void MainWindowImp::loadModules(const QString &path) /* if loaded install translation */ if( loadPlugin(path + "/" + fi->fileName()) != 0l ){ QTranslator *trans = new QTranslator(qApp); - QString fn = QPEApplication::qpeDir()+"/i18n/"+lang+"/"+ fi->fileName().left( fi->fileName().find(".") )+".qm"; + QString fn = QPEApplication::qpeDir()+"i18n/"+lang+"/"+ fi->fileName().left( fi->fileName().find(".") )+".qm"; if( trans->load( fn ) ) qApp->installTranslator( trans ); else -- cgit v0.9.0.2