[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenetwork/ksirc
From: Simon Hausmann <hausmann () kde ! org>
Date: 2003-01-20 16:45:35
[Download RAW message or body]
CVS commit by hausmann:
- readability improvement
M +16 -15 kstextview.cpp 1.81
--- kdenetwork/ksirc/kstextview.cpp #1.80:1.81
@@ -1600,5 +1600,7 @@ void TextView::clearSelectionInternal()
void TextView::contentsMousePressEvent( QMouseEvent *ev )
{
- if ( ev->button() & LeftButton ) {
+ if ( !( ev->button() & LeftButton ) )
+ return;
+
clearSelection( true );
SelectionPoint p;
@@ -1614,5 +1616,4 @@ void TextView::contentsMousePressEvent(
m_dragURL = href.toQString();
m_mousePressed = true;
- }
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic