~ubuntu-branches/ubuntu/trusty/bibletime/trusty

« back to all changes in this revision

Viewing changes to src/frontend/searchdialog/csearchdialog.cpp

  • Committer: Package Import Robot
  • Author(s): Dmitrijs Ledkovs, Jonathan Marsden, Dmitrijs Ledkovs
  • Date: 2012-04-14 18:11:50 UTC
  • mfrom: (1.3.7)
  • Revision ID: package-import@ubuntu.com-20120414181150-17l2liq7bl7oaxjz
Tags: 2.9.1-1
[ Jonathan Marsden ]
* New upstream version 2.9.1
* debian/patches/*: Remove all patches (incorporated upstream)
* debian/control: bibletime now depends on a matching version of
  bibletime-data.

[ Dmitrijs Ledkovs ]
* Add more strict alternative build-dependency on the libqt4-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
#include <QLabel>
15
15
#include <QLineEdit>
16
16
#include <QPushButton>
17
 
#include <QSettings>
18
17
#include <QSizePolicy>
19
18
#include <QString>
20
19
#include <QRegExp>
181
180
    static const QRegExp orWords("\\bor\\b", Qt::CaseInsensitive);
182
181
    QString text("");
183
182
    if (m_searchOptionsArea->searchType() == BtSearchOptionsArea::AndType) {
184
 
        qDebug() << "AND type";
185
183
        text = orig.simplified();
186
184
        text.remove(syntaxCharacters);
187
185
        qDebug() << "After syntax characters removed:" << text;
289
287
    move(CBTConfig::get(CBTConfig::searchDialogX), CBTConfig::get(CBTConfig::searchDialogY));
290
288
}
291
289
 
292
 
void CSearchDialog::saveDialogSettings() {
 
290
void CSearchDialog::saveDialogSettings() const {
293
291
    CBTConfig::set(CBTConfig::searchDialogWidth, size().width());
294
292
    CBTConfig::set(CBTConfig::searchDialogHeight, size().height());
295
293
    CBTConfig::set(CBTConfig::searchDialogX, x());