[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdegraphics/gwenview/lib/document
From:       Aurélien Gâteau <aurelien.gateau () free ! fr>
Date:       2009-01-26 21:59:50
Message-ID: 1233007190.391891.2986.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 917107 by gateau:

Make sure the full image is getting loaded when waitUntilLoaded() is called.


 M  +2 -1      document.cpp  
 M  +1 -1      document.h  


--- trunk/KDE/kdegraphics/gwenview/lib/document/document.cpp #917106:917107
@@ -204,7 +204,8 @@
 }
 
 
-void Document::waitUntilLoaded() const {
+void Document::waitUntilLoaded() {
+	loadFullImage();
 	while (true) {
 		LoadingState state = loadingState();
 		if (state == Loaded || state == LoadingFailed) {
--- trunk/KDE/kdegraphics/gwenview/lib/document/document.h #917106:917107
@@ -129,7 +129,7 @@
 
 	QByteArray format() const;
 
-	void waitUntilLoaded() const;
+	void waitUntilLoaded();
 
 	QSize size() const;
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic