summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/applets/keyhelper/keyhelperapplet/applet/KeyHelper.cpp2
-rw-r--r--noncore/applets/keyhelper/keyhelperapplet/config/KeycfgReader.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/noncore/applets/keyhelper/keyhelperapplet/applet/KeyHelper.cpp b/noncore/applets/keyhelper/keyhelperapplet/applet/KeyHelper.cpp
index 4afdc1f..4723699 100644
--- a/noncore/applets/keyhelper/keyhelperapplet/applet/KeyHelper.cpp
+++ b/noncore/applets/keyhelper/keyhelperapplet/applet/KeyHelper.cpp
@@ -1,4 +1,5 @@
1#include "KeyHelper.h" 1#include "KeyHelper.h"
2#include <opie2/okeyfilter.h> 2#include <opie2/okeyfilter.h>
3#include <opie2/odebug.h>
3 4
4KeyHelper::KeyHelper() 5KeyHelper::KeyHelper()
@@ -23,4 +24,5 @@ bool KeyHelper::filter(int unicode, int keycode, int modifiers,
23 bool isPress, bool autoRepeat) 24 bool isPress, bool autoRepeat)
24{ 25{
26 odebug << "KeyHelper <<< "<<unicode<<" - "<<keycode<<" - "<<modifiers<<"\n";
25 m_oAction.setAction(unicode, keycode, modifiers, 27 m_oAction.setAction(unicode, keycode, modifiers,
26 isPress, autoRepeat); 28 isPress, autoRepeat);
diff --git a/noncore/applets/keyhelper/keyhelperapplet/config/KeycfgReader.cpp b/noncore/applets/keyhelper/keyhelperapplet/config/KeycfgReader.cpp
index 44b4b2f..14e8a37 100644
--- a/noncore/applets/keyhelper/keyhelperapplet/config/KeycfgReader.cpp
+++ b/noncore/applets/keyhelper/keyhelperapplet/config/KeycfgReader.cpp
@@ -21,5 +21,5 @@ bool KeycfgReader::load()
21 if(file.length() == 0 || !QFile::exists(file)){ 21 if(file.length() == 0 || !QFile::exists(file)){
22 /* default */ 22 /* default */
23 file = QDir::homeDirPath() + "/Settings/keyhelper.xml"; 23 file = QString(getenv( "HOME" )) + QString("/Settings/keyhelper.xml");
24 } 24 }
25 return(load(file)); 25 return(load(file));