diff --git a/src/widgets/kopenwithdialog.cpp b/src/widgets/kopenwithdialog.cpp --- a/src/widgets/kopenwithdialog.cpp +++ b/src/widgets/kopenwithdialog.cpp @@ -1076,9 +1076,8 @@ if (!qMimeType.isEmpty()) { addToMimeAppsList(menuId); - } else { - m_pService = new KService(newPath); } + m_pService = new KService(newPath); } }