summaryrefslogtreecommitdiff
path: root/src/frontend/searchdialog/btsearchsyntaxhelpdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/searchdialog/btsearchsyntaxhelpdialog.cpp')
-rw-r--r--src/frontend/searchdialog/btsearchsyntaxhelpdialog.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/frontend/searchdialog/btsearchsyntaxhelpdialog.cpp b/src/frontend/searchdialog/btsearchsyntaxhelpdialog.cpp
index a1debc3..f1acddc 100644
--- a/src/frontend/searchdialog/btsearchsyntaxhelpdialog.cpp
+++ b/src/frontend/searchdialog/btsearchsyntaxhelpdialog.cpp
@@ -2,7 +2,7 @@
*
* This file is part of BibleTime's source code, http://www.bibletime.info/.
*
-* Copyright 1999-2011 by the BibleTime developers.
+* Copyright 1999-2014 by the BibleTime developers.
* The BibleTime source code is licensed under the GNU General Public License version 2.0.
*
**********/
@@ -13,7 +13,7 @@
#include <QDialogButtonBox>
#include <QVBoxLayout>
#include <QWebView>
-#include "util/dialogutil.h"
+#include "frontend/messagedialog.h"
#include "util/directory.h"
@@ -22,7 +22,6 @@ namespace Search {
BtSearchSyntaxHelpDialog::BtSearchSyntaxHelpDialog(QWidget *parent, Qt::WindowFlags wflags)
: QDialog(parent, wflags)
{
- setAttribute(Qt::WA_DeleteOnClose);
resize(550, 340);
QVBoxLayout *l = new QVBoxLayout;
@@ -42,10 +41,6 @@ BtSearchSyntaxHelpDialog::BtSearchSyntaxHelpDialog(QWidget *parent, Qt::WindowFl
retranslateUi();
}
-BtSearchSyntaxHelpDialog::~BtSearchSyntaxHelpDialog() {
- // Intentionally empty
-}
-
void BtSearchSyntaxHelpDialog::retranslateUi() {
namespace DU = util::directory;
@@ -219,7 +214,7 @@ void BtSearchSyntaxHelpDialog::retranslateUi() {
m_webView->setHtml(html, QUrl::fromLocalFile(DU::getIconDir().path()));
- util::prepareDialogBox(m_buttons);
+ message::prepareDialogBox(m_buttons);
}
void BtSearchSyntaxHelpDialog::linkClicked(const QUrl &url) {