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

List:       kde-commits
Subject:    koffice/krita/ui
From:       Dmitry Kazakov <dimula73 () gmail ! com>
Date:       2010-11-20 8:18:13
Message-ID: 20101120081813.98314AC8A0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1198898 by dkazakov:

The full image refresh should be done on document loading only

BUG:257264


 M  +1 -0      kis_doc2.cc  
 M  +4 -5      kis_view2.cpp  


--- trunk/koffice/krita/ui/kis_doc2.cc #1198897:1198898
@@ -178,6 +178,7 @@
 }
 
 void KisDoc2::slotLoadingFinished() {
+    image()->refreshGraph();
     setAutoSave(KisConfig().autoSaveInterval());
 }
 
--- trunk/koffice/krita/ui/kis_view2.cpp #1198897:1198898
@@ -550,13 +550,12 @@
 
 void KisView2::slotLoadingFinished()
 {
-    image()->refreshGraph();
-
+    /**
+     * Cold-start of image-size signals
+     */
     slotImageSizeChanged();
-
-    if (m_d->statusBar) {
+    if (m_d->statusBar)
         m_d->statusBar->imageSizeChanged(image()->width(), image()->height());
-    }
     if (m_d->resourceProvider)
         m_d->resourceProvider->slotImageSizeChanged();
     if (m_d->nodeManager)
[prev in list] [next in list] [prev in thread] [next in thread] 

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