[poppler] qt4/demos

Pino Toscano pino at kemper.freedesktop.org
Wed Feb 20 02:07:51 PST 2008


 qt4/demos/pageview.cpp |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 51fba47ccb12a66282769fc504bac4c9f5123f75
Author: Pino Toscano <pino at kde.org>
Date:   Sun Feb 17 01:49:59 2008 +0100

    clear the page label when the document is closed

diff --git a/qt4/demos/pageview.cpp b/qt4/demos/pageview.cpp
index 9e57227..3420a63 100644
--- a/qt4/demos/pageview.cpp
+++ b/qt4/demos/pageview.cpp
@@ -42,6 +42,8 @@ void PageView::documentLoaded()
 
 void PageView::documentClosed()
 {
+    m_imageLabel->clear();
+    m_imageLabel->resize(0, 0);
 }
 
 void PageView::pageChanged(int page)


More information about the poppler mailing list