author | alwin <alwin> | 2005-03-01 07:34:24 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-01 07:34:24 (UTC) |
commit | e12f0049687c84c24f0b7b737b65df2ed6a500a5 (patch) (side-by-side diff) | |
tree | d35007beb337e020e997eec7758fdd88a3f3d56c | |
parent | 73faad9d936d5af7a331411a9572fd362907e023 (diff) | |
download | opie-e12f0049687c84c24f0b7b737b65df2ed6a500a5.zip opie-e12f0049687c84c24f0b7b737b65df2ed6a500a5.tar.gz opie-e12f0049687c84c24f0b7b737b65df2ed6a500a5.tar.bz2 |
*** empty log message ***
-rw-r--r-- | noncore/applets/keyhelper/keyhelperapplet/applet/KeyHelper.cpp | 2 | ||||
-rw-r--r-- | noncore/applets/keyhelper/keyhelperapplet/config/KeycfgReader.cpp | 2 |
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,6 +1,7 @@ #include "KeyHelper.h" #include <opie2/okeyfilter.h> +#include <opie2/odebug.h> KeyHelper::KeyHelper() { qDebug("KeyHelper::KeyHelper()"); @@ -21,8 +22,9 @@ KeyHelper::~KeyHelper() bool KeyHelper::filter(int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat) { + odebug << "KeyHelper <<< "<<unicode<<" - "<<keycode<<" - "<<modifiers<<"\n"; m_oAction.setAction(unicode, keycode, modifiers, isPress, autoRepeat); return(m_oAction.doAction()); } 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 @@ -19,9 +19,9 @@ bool KeycfgReader::load() file = cfg.readEntry("XmlFile"); if(file.length() == 0 || !QFile::exists(file)){ /* default */ - file = QDir::homeDirPath() + "/Settings/keyhelper.xml"; + file = QString(getenv( "HOME" )) + QString("/Settings/keyhelper.xml"); } return(load(file)); } |