┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2010-01-31 12:26:50 +0000
committerPeter Penz <[email protected]>2010-01-31 12:26:50 +0000
commit4b1277f078fb1ac0b89aac7662baad2e11ce7173 (patch)
treec3f9b692de48fe264c9a8950be79d2ce77334b4a
parent5e079195bc38768041365b64f1a70285261125fd (diff)
removed clearSelection() code, it is not needed anymore with Qt 4.6 and done automatically internally
svn path=/trunk/KDE/kdebase/apps/; revision=1082869
-rw-r--r--src/dolphiniconsview.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/dolphiniconsview.cpp b/src/dolphiniconsview.cpp
index a8188d971..b6fe9d343 100644
--- a/src/dolphiniconsview.cpp
+++ b/src/dolphiniconsview.cpp
@@ -173,14 +173,8 @@ void DolphinIconsView::mousePressEvent(QMouseEvent* event)
setState(QAbstractItemView::DraggingState);
}
- if (!index.isValid()) {
- if (QApplication::mouseButtons() & Qt::MidButton) {
- m_controller->replaceUrlByClipboard();
- }
- const Qt::KeyboardModifiers modifier = QApplication::keyboardModifiers();
- if (!(modifier & Qt::ShiftModifier) && !(modifier & Qt::ControlModifier)) {
- clearSelection();
- }
+ if (!index.isValid() && (QApplication::mouseButtons() & Qt::MidButton)) {
+ m_controller->replaceUrlByClipboard();
}
KCategorizedView::mousePressEvent(event);