mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 16:31:21 +00:00
removed clearSelection() code, it is not needed anymore with Qt 4.6 and done automatically internally
svn path=/trunk/KDE/kdebase/apps/; revision=1082869
This commit is contained in:
parent
5e079195bc
commit
4b1277f078
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue