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 'libopie2/opiecore') diff --git a/libopie2/opiecore/opluginloader.cpp b/libopie2/opiecore/opluginloader.cpp index 2a6e369..d33eac6 100644 --- a/libopie2/opiecore/opluginloader.cpp +++ b/libopie2/opiecore/opluginloader.cpp @@ -473,7 +473,7 @@ void OGenericPluginLoader::setSafeMode(const QString& str, bool b) { /** * @internal * - * Set the List of Plugin Dirs to lst. Currently only QPEApplication::qpeDir()+"/plugins/"+mytype + * Set the List of Plugin Dirs to lst. Currently only QPEApplication::qpeDir()+"plugins/"+mytype * is used as plugin dir */ void OGenericPluginLoader::setPluginDirs( const QStringList& lst ) { @@ -638,7 +638,7 @@ void OGenericPluginLoader::installTranslators(const QString& type) { */ for ( QStringList::Iterator it = lst.begin(); it != lst.end(); ++it ) { QTranslator* trans = new QTranslator( qApp ); - QString tfn = QPEApplication::qpeDir()+"/i18n/" + *it + "/lib" + type + ".qm" ; + QString tfn = QPEApplication::qpeDir()+"i18n/" + *it + "/lib" + type + ".qm" ; /* * If loaded then install else clean up and don't leak -- cgit v0.9.0.2