diff options
| author | Frank Reininghaus <[email protected]> | 2014-04-29 21:44:46 +0200 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2014-04-29 21:44:46 +0200 |
| commit | eddb62ac0c9cf2c37991401ea5332a7f334c05a9 (patch) | |
| tree | d22b2e9c05d3fe8be3d8ba62d7e46ca5fa7ab380 /src/panels | |
| parent | ae5bcfcdeece23915e7272af1046a7e71e269474 (diff) | |
| parent | 5f29eec07572503679ca1dd354236065f33ff4a7 (diff) | |
Merge branch 'KDE/4.13'
Diffstat (limited to 'src/panels')
| -rw-r--r-- | src/panels/places/placespanel.cpp | 5 |
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) { |
