summaryrefslogtreecommitdiff
path: root/qt4/demos
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2008-04-26 23:41:45 +0200
committerPino Toscano <pino@kde.org>2008-04-26 23:41:45 +0200
commit7eca6da6436ffc1c41cfed1a07be4dafa1172463 (patch)
treef92baa6f8ed4b912d43272c6939f29c07c0c1851 /qt4/demos
parent6cddda7f3c3b8ddb95e6aba1b234a27c4454c23d (diff)
no need to manually disconnect from the model, as it will be deleted by the document anyway
Diffstat (limited to 'qt4/demos')
-rw-r--r--qt4/demos/optcontent.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/qt4/demos/optcontent.cpp b/qt4/demos/optcontent.cpp
index 9c3f05a2..f0bb9d71 100644
--- a/qt4/demos/optcontent.cpp
+++ b/qt4/demos/optcontent.cpp
@@ -58,7 +58,6 @@ void OptContentDock::fillInfo()
void OptContentDock::documentClosed()
{
- disconnect(m_view->model(), SIGNAL(dataChanged(QModelIndex, QModelIndex)), this, SLOT(reloadImage()));
m_view->setModel(0);
AbstractInfoDock::documentClosed();
}