[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-07-10 21:57:28
Message-ID: 20040710215728.AC82216B1B () office ! kde ! org
[Download RAW message or body]

CVS commit by dang: 

use kpSelection::isText()


  M +2 -2      kpmainwindow_edit.cpp   1.21


--- kdegraphics/kolourpaint/kpmainwindow_edit.cpp  #1.20:1.21
@@ -326,5 +326,5 @@ void kpMainWindow::pasteText (const QStr
     if (!forceNewTextSelection &&
         m_document && m_document->selection () &&
-        m_document->selection ()->type () == kpSelection::Text &&
+        m_document->selection ()->isText () &&
         m_commandHistory && m_viewManager)
     {
@@ -404,5 +404,5 @@ void kpMainWindow::pasteTextAt (const QS
     if (m_document &&
         m_document->selection () &&
-        m_document->selection ()->type () == kpSelection::Text &&
+        m_document->selection ()->isText () &&
         m_document->selection ()->pointIsInTextArea (point))
     {


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

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