summaryrefslogtreecommitdiffstats
path: root/src/document.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/document.cpp')
-rw-r--r--src/document.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/document.cpp b/src/document.cpp
index 0610af1..4cd0e6e 100644
--- a/src/document.cpp
+++ b/src/document.cpp
@@ -50,7 +50,7 @@ Document::~Document()
void Document::handleNewView( View *view )
{
- if ( !view || m_viewList.tqcontains(view) )
+ if ( !view || m_viewList.contains(view) )
return;
m_viewList.append(view);