Fix forward navigation control on Linux.
[dorian] / searchdialog.cpp
index 9054619..e2f2b99 100644 (file)
@@ -6,11 +6,13 @@
 
 SearchDialog::SearchDialog(QWidget *parent): Dyalog(parent)
 {
-    setWindowTitle(tr("SearchDialog::SearchDialog"));
+    TRACE;
+    setWindowTitle(tr("Search the Web"));
+    setAttribute(Qt::WA_DeleteOnClose, false);
 
     QLabel *titleLabel = new QLabel(tr("Title:"), this);
     title = new QLineEdit(this);
-    QLabel *authorLabel = new QLabel(tr("Author"), this);
+    QLabel *authorLabel = new QLabel(tr("Author:"), this);
     author = new QLineEdit(this);
 
     addWidget(titleLabel);
@@ -23,7 +25,7 @@ SearchDialog::SearchDialog(QWidget *parent): Dyalog(parent)
 
 Search::Query SearchDialog::query()
 {
-    Trace t("SearchDialog::query");
+    TRACE;
     Search::Query ret;
     ret.title = title->text();
     ret.author = author->text();