Mount partitions when you open them in a new tab.
Review Request #117755 - Created April 24, 2014 and submitted
Mount partitions when you open them in a new tab. Instead of just emitting the slotItemMiddleClicked signal in PlacesPanel::slotItemContextMenuRequested we now use triggerItem with Qt::MiddleButton, which does set up the storage first and emit the slotItemMiddleClicked signal afterwards.
Places panel -> Context menu -> Open partition in new tab works fine for me.
@Frank: I think we should create a new function and move most of the code from triggerItem to this new function. To decide which signal should be emitted we should add an enumeration (OpenInNewTab, OpenInCurrentView, ...). The diff will be much bigger but I think it will be easier to understand/read when we can use OpenInNewTab instead of MiddleButton ;)
Looks good, thanks! I did not realize that this could be fixed with such a small change :-) Changing triggerItem as you said might make sense, but I think it should be done in master only.