diff options
Diffstat (limited to 'src/katemdi.cpp')
-rw-r--r-- | src/katemdi.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/katemdi.cpp b/src/katemdi.cpp index e641744..01abfd3 100644 --- a/src/katemdi.cpp +++ b/src/katemdi.cpp @@ -276,7 +276,7 @@ ToolView *Sidebar::addWidget (const TQPixmap &icon, const TQString &text, ToolVi bool Sidebar::removeWidget (ToolView *widget) { - if (!m_widgetToId.tqcontains(widget)) + if (!m_widgetToId.contains(widget)) return false; removeTab(m_widgetToId[widget]); @@ -306,7 +306,7 @@ bool Sidebar::removeWidget (ToolView *widget) bool Sidebar::showWidget (ToolView *widget) { - if (!m_widgetToId.tqcontains(widget)) + if (!m_widgetToId.contains(widget)) return false; // hide other non-persistent views @@ -331,7 +331,7 @@ bool Sidebar::showWidget (ToolView *widget) bool Sidebar::hideWidget (ToolView *widget) { - if (!m_widgetToId.tqcontains(widget)) + if (!m_widgetToId.contains(widget)) return false; bool anyVis = false; |