summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 213d3a84..07b0fb9c 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -65,9 +65,12 @@
MainWindow::MainWindow()
: KXmlGuiWindow()
- , m_view( new MainView(this) )
- , m_bookmarksProvider( new BookmarksProvider(this) )
+ , m_view(0)
+ , m_bookmarksProvider(0)
{
+ m_view = new MainView(this);
+ m_bookmarksProvider = new BookmarksProvider(this);
+
// accept dnd
setAcceptDrops(true);