summaryrefslogtreecommitdiffstats
path: root/src/MainWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/MainWidget.cpp')
-rw-r--r--src/MainWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MainWidget.cpp b/src/MainWidget.cpp
index 4c5b621..bff4d1b 100644
--- a/src/MainWidget.cpp
+++ b/src/MainWidget.cpp
@@ -1810,7 +1810,7 @@ KbdTray::KbdTray(TQWidget *tqparent, const char *name) : KSystemTray(tqparent,na
void KbdTray::mousePressEvent(TQMouseEvent *e)
{
if (e->button()==Qt::LeftButton) {
- TQWidget *p = tqparentWidget();
+ TQWidget *p = parentWidget();
if (p){
if (p->isShown()){
p->hide();