Commit 05845697 authored by Tomaz  Canabrava's avatar Tomaz Canabrava
Browse files

Add Bug ticket tracking the KF5 change required to remove this hack

parent 25845027
......@@ -617,6 +617,7 @@ void FileFilter::HotSpot::setupMenu(QMenu *menu)
// Here we added the actions to the last part of the menu, but we need to move them up.
// TODO: As soon as addOpenWithActionsTo accepts a index, change this.
QAction *firstAction = menu->actions().at(0);
for (auto *action : menu->actions()) {
if (action->text().toLower().remove(QLatin1Char('&')).contains(i18n("open with"))) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment