Merge branch 'cache'
[mdictionary] / trunk / src / base / gui / BookmarksWidget.cpp
index 60ad592..1536265 100644 (file)
@@ -30,12 +30,12 @@ BookmarksWidget::BookmarksWidget(GUIInterface *parent) :
 {
     setWindowTitle(tr("Bookmarks"));
 
-    verticalLayout = new QVBoxLayout;
+    verticalLayout = new QVBoxLayout(this);
     setLayout(verticalLayout);
 
-    showAllBookmarksPushButton = new QPushButton(tr("Show all bookmarks"));
+    showAllBookmarksPushButton = new QPushButton(tr("Show all bookmarks"),this);
     removeAllBookmarksPushButton =
-            new QPushButton(tr("Remove all bookmarks"));
+            new QPushButton(tr("Remove all bookmarks"),this);
 
     verticalLayout->addWidget(showAllBookmarksPushButton);
     verticalLayout->addWidget(removeAllBookmarksPushButton);