[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE_3_2_BRANCH: kdegraphics/kghostview
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2004-02-05 19:40:01
Message-ID: 20040205194001.026F59840 () office ! kde ! org
[Download RAW message or body]
CVS commit by aacid:
Clear the scrollbox when opening a new document. Previously if the document did not \
exist (because it was in recent files but you have already removed it) the thumbnail \
was still in the scrollbox. Aproved by Luis Pedro
M +1 -1 kgv_view.cpp 1.172.2.2
M +4 -0 scrollbox.cpp 1.13.2.1
M +1 -0 scrollbox.h 1.8.2.1
--- kdegraphics/kghostview/kgv_view.cpp #1.172.2.1:1.172.2.2
@@ -404,5 +404,5 @@ bool KGVPart::closeURL()
_markList->clear();
_pageDecorator->hide();
- //_scrollBox->clear();
+ _scrollBox->clear();
_isFileDirty = false;
if ( _job )
--- kdegraphics/kghostview/scrollbox.cpp #1.13:1.13.2.1
@@ -114,4 +114,8 @@ void ScrollBox::setThumbnail( QPixmap im
}
+void ScrollBox::clear()
+{
+ unsetPalette();
+}
#include "scrollbox.moc"
--- kdegraphics/kghostview/scrollbox.h #1.8:1.8.2.1
@@ -36,4 +36,5 @@ public slots:
void setViewPos( int x, int y ) { setViewPos( QPoint( x, y ) ); }
void setThumbnail( QPixmap img );
+ void clear();
signals:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic