summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoSpeaker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoSpeaker.cpp')
-rw-r--r--lib/kofficecore/KoSpeaker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kofficecore/KoSpeaker.cpp b/lib/kofficecore/KoSpeaker.cpp
index b8c0c098..fd42bcf3 100644
--- a/lib/kofficecore/KoSpeaker.cpp
+++ b/lib/kofficecore/KoSpeaker.cpp
@@ -224,7 +224,7 @@ bool KoSpeaker::maybeSayWidget(TQWidget* w, const TQPoint& pos /*=TQPoint()*/)
TQString text;
if (w->inherits("TQViewportWidget")) {
- w = w->tqparentWidget();
+ w = w->parentWidget();
if (!w) return false;
}