diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinpart.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp index e005ac29c..e5151c0fb 100644 --- a/src/dolphinpart.cpp +++ b/src/dolphinpart.cpp @@ -156,7 +156,8 @@ void DolphinPart::createActions() { // Edit menu - m_newMenu = new KNewFileMenu(actionCollection(), "new_menu", widget()); + m_newMenu = new KNewFileMenu(actionCollection(), "new_menu", this); + m_newMenu->setParentWidget(widget()); DolphinNewMenuObserver::instance().attach(m_newMenu); connect(m_newMenu->menu(), SIGNAL(aboutToShow()), this, SLOT(updateNewMenu())); |
