┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2014-04-29 21:44:46 +0200
committerFrank Reininghaus <[email protected]>2014-04-29 21:44:46 +0200
commiteddb62ac0c9cf2c37991401ea5332a7f334c05a9 (patch)
treed22b2e9c05d3fe8be3d8ba62d7e46ca5fa7ab380 /src/panels
parentae5bcfcdeece23915e7272af1046a7e71e269474 (diff)
parent5f29eec07572503679ca1dd354236065f33ff4a7 (diff)
Merge branch 'KDE/4.13'
Diffstat (limited to 'src/panels')
-rw-r--r--src/panels/places/placespanel.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/panels/places/placespanel.cpp b/src/panels/places/placespanel.cpp
index d5308eabe..f19fa1e25 100644
--- a/src/panels/places/placespanel.cpp
+++ b/src/panels/places/placespanel.cpp
@@ -283,8 +283,9 @@ void PlacesPanel::slotItemContextMenuRequested(int index, const QPointF& pos)
} else if (action == hideAction) {
item->setHidden(hideAction->isChecked());
} else if (action == openInNewTabAction) {
- const KUrl url = m_model->item(index)->dataValue("url").value<KUrl>();
- emit placeMiddleClicked(url);
+ // TriggerItem does set up the storage first and then it will
+ // emit the slotItemMiddleClicked signal, because of Qt::MiddleButton.
+ triggerItem(index, Qt::MiddleButton);
} else if (action == teardownAction) {
m_model->requestTeardown(index);
} else if (action == ejectAction) {