summaryrefslogtreecommitdiffstats
path: root/kate/app/kateconsole.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/app/kateconsole.cpp')
-rw-r--r--kate/app/kateconsole.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kate/app/kateconsole.cpp b/kate/app/kateconsole.cpp
index 3dcde4490..13d883eab 100644
--- a/kate/app/kateconsole.cpp
+++ b/kate/app/kateconsole.cpp
@@ -57,7 +57,7 @@ void KateConsole::loadConsoleIfNeeded()
{
if (m_part) return;
- if (!tqtopLevelWidget() || !tqparentWidget()) return;
+ if (!tqtopLevelWidget() || !parentWidget()) return;
if (!tqtopLevelWidget() || !isVisibleTo(tqtopLevelWidget())) return;
KLibFactory *factory = KLibLoader::self()->factory("libkonsolepart");
@@ -86,7 +86,7 @@ void KateConsole::slotDestroyed ()
m_part = 0;
// hide the dockwidget
- if (tqparentWidget())
+ if (parentWidget())
{
m_mw->hideToolView (m_toolView);
m_mw->centralWidget()->setFocus ();