author | zecke <zecke> | 2004-10-16 00:01:01 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-10-16 00:01:01 (UTC) |
commit | df14f647ff1a60ca82e0fa9bd91458be146153b8 (patch) (side-by-side diff) | |
tree | 4859961352851a4392e1442f2080c15bff8ad7bc /libslcompat | |
parent | 419f9710c488f56a7a117eb1529970d3371e0094 (diff) | |
download | opie-df14f647ff1a60ca82e0fa9bd91458be146153b8.zip opie-df14f647ff1a60ca82e0fa9bd91458be146153b8.tar.gz opie-df14f647ff1a60ca82e0fa9bd91458be146153b8.tar.bz2 |
Replace QPEApplication::qpeDir() + "/ with
QPEApplication::qpeDir() + "
as it is guranteed that qpeDir() will have '/' as the last
charachter
-rw-r--r-- | libslcompat/slmisc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libslcompat/slmisc.h b/libslcompat/slmisc.h index 20ba988..442b098 100644 --- a/libslcompat/slmisc.h +++ b/libslcompat/slmisc.h @@ -13,33 +13,33 @@ #define _SLPOWER class QPopupMenu; class QListView; #if !defined(_SLPOWER) class PowerStatus; #else class SlPowerStatus; #endif class Config; typedef ulong SlResolutionScale; class SlMisc { public: static bool isExecutable(const QString &c) { - QFileInfo exec(QPEApplication::qpeDir() + "/bin/" + c); + QFileInfo exec(QPEApplication::qpeDir() + "bin/" + c); return exec.isExecutable(); }; static ulong availableMemory(); static bool invalidFileName(QString &fName); static QString getValidFileName(const QString &baseName); static QString getCanonicalPath(const QString &fName); static void enableAutoPowerOff(bool isOn); static void enableAutoPowerOff(bool isOn,bool DimAlso,bool ScreenSaverAlso=FALSE); static void enableLockApplication(bool); static bool isTheSmbShareFileHasWriteEntry(const QString &shareFName); static bool isTheSmbShareFileNowCopy(const QString &shareFName); static bool checkTheSmbShareFileMode(const QString &shareFName, char modeMask, char checkMode, bool equality); static bool isTheFileLockedBySmbd(const QString &fName); static bool isSambaForked(); static void startSamba(); |