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

List:       kde-commits
Subject:    branches/work/akonadi-ports/kdepim/messageviewer
From:       Torgny Nyblom <kde () nyblom ! org>
Date:       2009-12-31 19:37:46
Message-ID: 1262288266.175717.18254.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1068302 by tnyblom:

Port++

 M  +2 -5      viewer_p.cpp  


--- branches/work/akonadi-ports/kdepim/messageviewer/viewer_p.cpp #1068301:1068302
@@ -2237,15 +2237,12 @@
   Q_UNUSED(title)
   Q_UNUSED(textContent)
   const KUrl url(link);
-  kWarning() << "WEBKIT: Disabled code in " << Q_FUNC_INFO;
-#if 0
   if ( url.protocol() == "kmail" || url.protocol() == "x-kmail"
        || (url.protocol().isEmpty() && url.path().isEmpty()) ) {
-    mViewer->setDNDEnabled( false );
+    mViewer->setAcceptDrops( false );
   } else {
-    mViewer->setDNDEnabled( true );
+    mViewer->setAcceptDrops( true );
   }
-#endif
 
   if ( link.trimmed().isEmpty() ) {
     KPIM::BroadcastStatus::instance()->reset();
[prev in list] [next in list] [prev in thread] [next in thread] 

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