summaryrefslogtreecommitdiff
path: root/libslcompat
authorzecke <zecke>2004-10-16 00:01:01 (UTC)
committer zecke <zecke>2004-10-16 00:01:01 (UTC)
commitdf14f647ff1a60ca82e0fa9bd91458be146153b8 (patch) (side-by-side diff)
tree4859961352851a4392e1442f2080c15bff8ad7bc /libslcompat
parent419f9710c488f56a7a117eb1529970d3371e0094 (diff)
downloadopie-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
Diffstat (limited to 'libslcompat') (more/less context) (show whitespace changes)
-rw-r--r--libslcompat/slmisc.h2
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();