summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRagnar Thomsen <[email protected]>2015-05-15 12:28:21 +0200
committerRagnar Thomsen <[email protected]>2015-05-15 12:28:21 +0200
commit81a4b38f5eaa303fd6d1b63a87602bddb35d2ad4 (patch)
tree31aa9c6335b912d56e84f9b1ad66e7bca0b28a75
parente57c73c661698d29466ee1f522db41efb7d62ca0 (diff)
KMenu->QMenu
-rw-r--r--part/part.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/part/part.cpp b/part/part.cpp
index 20e7e88..2b32098 100644
--- a/part/part.cpp
+++ b/part/part.cpp
@@ -44,7 +44,6 @@
#include <KPluginFactory>
#include <KRun>
#include <KSelectAction>
-#include <KMenu>
#include <KStandardGuiItem>
#include <KToggleAction>
#include <KLocalizedString>
@@ -931,7 +930,7 @@ void Part::slotShowContextMenu()
return;
}
- KMenu *popup = static_cast<KMenu *>(factory()->container(QLatin1String("context_menu"), this));
+ QMenu *popup = static_cast<QMenu *>(factory()->container(QLatin1String("context_menu"), this));
popup->popup(QCursor::pos());
}