author | mickeyl <mickeyl> | 2005-09-03 00:58:07 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-09-03 00:58:07 (UTC) |
commit | ed772cdd53070ccc61c87a3b0e96769a9f558f71 (patch) (side-by-side diff) | |
tree | 3ffb7fb25c302821fd0ea817b06ce99e1dc64d63 /noncore | |
parent | 5907b0aabc816287db5c7f2b1ec8d8bfce4d9c28 (diff) | |
download | opie-ed772cdd53070ccc61c87a3b0e96769a9f558f71.zip opie-ed772cdd53070ccc61c87a3b0e96769a9f558f71.tar.gz opie-ed772cdd53070ccc61c87a3b0e96769a9f558f71.tar.bz2 |
fix compilation when QT_QWS_EBX is defined
-rw-r--r-- | noncore/applets/keyhelper/keyhelperapplet/applet/KeyHelperWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/applets/keyhelper/keyhelperapplet/applet/KeyHelperWidget.cpp b/noncore/applets/keyhelper/keyhelperapplet/applet/KeyHelperWidget.cpp index 9fac51b..8a8647e 100644 --- a/noncore/applets/keyhelper/keyhelperapplet/applet/KeyHelperWidget.cpp +++ b/noncore/applets/keyhelper/keyhelperapplet/applet/KeyHelperWidget.cpp @@ -281,33 +281,33 @@ void MsgHandler(QtMsgType type, const char* msg) } break; default: break; } } void KeyHelperWidget::initDebugLevel() { ConfigEx& cfg = ConfigEx::getInstance("keyhelper"); cfg.setGroup("Global"); int level = cfg.readNumEntry("DebugLevel", 0); setDebugLevel(level); } -void KeyHelperWidget::setDebugLevel(int /*level*/) +void KeyHelperWidget::setDebugLevel(int level) { #ifdef QT_QWS_EBX static bool noDebug = true; g_level = level; if(g_level > 0){ if(noDebug){ m_defHandler = qInstallMsgHandler(MsgHandler); noDebug = false; } } else { qInstallMsgHandler(m_defHandler); noDebug = true; } #endif } |