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

List:       kde-kimageshop
Subject:    koffice/krita/core
From:       Gábor Lehel <illissius () gmail ! com>
Date:       2005-12-31 17:12:20
Message-ID: 1136049140.299152.8567.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 492940 by illissius:

compile
not sure whether the fix is correct, though
CCMAIL: kimageshop@kde.org


 M  +3 -2      kis_image.cc  


--- trunk/koffice/krita/core/kis_image.cc #492939:492940
@@ -44,6 +44,7 @@
 //#include "kis_guide.h"
 #include "kis_image.h"
 #include "kis_paint_device_impl.h"
+#include "kis_paint_device_action.h"
 #include "kis_selection.h"
 #include "kis_painter.h"
 #include "kis_fill_painter.h"
@@ -1005,9 +1006,9 @@
         if (player != 0) {
 
             QValueVector<KisPaintDeviceAction *> actions = KisMetaRegistry::instance() ->
-                csRegistry() -> paintDeviceActionsFor(cs);
+                csRegistry() -> paintDeviceActionsFor(player -> paintDevice() -> colorSpace());
             for (uint i = 0; i < actions.count(); i++) {
-                actions.at(i) -> act(player.data(), img -> width(), img -> height());
+                actions.at(i) -> act(player.data() -> paintDevice(), width(), height());
             }
         }
 
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread] 

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