[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdegraphics/kolourpaint
From: Clarence Dang <dang () kde ! org>
Date: 2004-08-01 1:42:25
Message-ID: 20040801014225.ECECA99A8 () office ! kde ! org
[Download RAW message or body]
CVS commit by dang:
don't burn CPU cycles calculating sel transparency mask when it's going to be thrown \
away when sending to clipboard; needs BACKPORT
M +4 -0 kpmainwindow_edit.cpp 1.29
--- kdegraphics/kolourpaint/kpmainwindow_edit.cpp #1.28:1.29
@@ -185,4 +185,8 @@ void kpMainWindow::slotCopy ()
kpSelection sel = *m_document->selection ();
+ // Transparency doesn't get sent across the aether so nuke it now
+ // so that transparency mask doesn't get needlessly recalculated
+ // if we ever call sel.setPixmap().
+ sel.setTransparency (kpSelectionTransparency ());
if (sel.isText ())
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic