[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[vidalia-svn] r2003: We don't need to clear the clipboard every time we copy some (in trunk: . src/gui/log)
Author: edmanm
Date: 2007-10-11 23:42:16 -0400 (Thu, 11 Oct 2007)
New Revision: 2003
Modified:
trunk/
trunk/src/gui/log/messagelog.cpp
Log:
r2069@lysithea: edmanm | 2007-10-11 23:32:28 -0400
We don't need to clear the clipboard every time we copy something to it;
calling setText() is sufficient.
Property changes on: trunk
___________________________________________________________________
svk:merge ticket from /local/vidalia/trunk [r2069] on dc66be73-d13e-47ba-a267-8dc7cda68c65
Modified: trunk/src/gui/log/messagelog.cpp
===================================================================
--- trunk/src/gui/log/messagelog.cpp 2007-10-12 03:42:03 UTC (rev 2002)
+++ trunk/src/gui/log/messagelog.cpp 2007-10-12 03:42:16 UTC (rev 2003)
@@ -357,8 +357,6 @@
{
QString contents = ui.lstMessages->selectedMessages().join("");
if (!contents.isEmpty()) {
- /* Clear anything on the clipboard */
- QApplication::clipboard()->clear();
/* Copy the selected messages to the clipboard */
QApplication::clipboard()->setText(contents);
}