summaryrefslogtreecommitdiffstats
path: root/kcontrol
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-02-17 12:01:31 +0100
committerSlávek Banko <slavek.banko@axis.cz>2013-02-17 12:01:31 +0100
commit5914fa0499862d7c7990c4b0426aa79acdfcc770 (patch)
tree89cb5c0fe6dde6b06d0d7889978be85744e07219 /kcontrol
parent216859a88384433a2628540914ebb30a3dadc0f7 (diff)
downloadtdebase-5914fa0499862d7c7990c4b0426aa79acdfcc770.tar.gz
tdebase-5914fa0499862d7c7990c4b0426aa79acdfcc770.zip
Fix unintended rename of LOCKFILE
Diffstat (limited to 'kcontrol')
-rw-r--r--kcontrol/tdm/tdm-appear.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kcontrol/tdm/tdm-appear.cpp b/kcontrol/tdm/tdm-appear.cpp
index 91d65ccd7..e8aff7b74 100644
--- a/kcontrol/tdm/tdm-appear.cpp
+++ b/kcontrol/tdm/tdm-appear.cpp
@@ -53,7 +53,7 @@
extern KSimpleConfig *config;
-#define TSAK_LOCTDEFILE "/tmp/tdesocket-global/tsak.lock"
+#define TSAK_LOCKFILE "/tmp/tdesocket-global/tsak.lock"
TDMAppearanceWidget::TDMAppearanceWidget(TQWidget *parent, const char *name)
: TQWidget(parent, name), sakwarning(0)
@@ -486,7 +486,7 @@ void TDMAppearanceWidget::save()
}
else {
// Get PID
- TQFile file(TSAK_LOCTDEFILE);
+ TQFile file(TSAK_LOCKFILE);
if (file.open(IO_ReadOnly)) {
TQTextStream stream(&file);
unsigned long tsakpid = stream.readLine().toULong();