[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.2/kdelibs/khtml
From: Maks Orlovich <maksim () kde ! org>
Date: 2009-05-24 15:00:56
Message-ID: 1243177256.797960.16106.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 972312 by orlovich:
Revert r964131 for 4.2.4 --- it triggers a weird bug where selection would get cancelled
after you finish making it some of the time. Will look for a proper fix for trunk,
but this should be safer for stable.
CCBUG:193400
M +5 -0 khtml_part.cpp
--- branches/KDE/4.2/kdelibs/khtml/khtml_part.cpp #972311:972312
@@ -1621,6 +1621,9 @@
if (d->editor_context.m_caretBlinkTimer >= 0)
killTimer(d->editor_context.m_caretBlinkTimer);
d->editor_context.reset();
+#ifndef QT_NO_CLIPBOARD
+ connect( qApp->clipboard(), SIGNAL( selectionChanged()), SLOT( slotClearSelection()));
+#endif
d->m_jobPercent = 0;
@@ -6404,7 +6407,9 @@
QString text = selectedText();
text.replace(QChar(0xa0), ' ');
if (!text.isEmpty()) {
+ disconnect( qApp->clipboard(), SIGNAL( selectionChanged()), this, SLOT( slotClearSelection()));
qApp->clipboard()->setText(text,QClipboard::Selection);
+ connect( qApp->clipboard(), SIGNAL( selectionChanged()), SLOT( slotClearSelection()));
}
#endif
//kDebug( 6000 ) << "selectedText = " << text;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic