diff options
Diffstat (limited to 'src/mainwindow/widgets')
-rw-r--r-- | src/mainwindow/widgets/searchform.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mainwindow/widgets/searchform.cpp b/src/mainwindow/widgets/searchform.cpp index 80e3848..79cc0cf 100644 --- a/src/mainwindow/widgets/searchform.cpp +++ b/src/mainwindow/widgets/searchform.cpp @@ -21,8 +21,6 @@ SearchForm::SearchForm(QWidget *parent) ui->result_label->setVisible(false); connect(ui->lineEdit, &QLineEdit::returnPressed, this, [this]() { - Q_ASSERT_X(view != nullptr, "SearchForm::returnPressed::lambda", "No view set"); - if(view) { QWebEnginePage::FindFlags searchFlags; searchFlags.setFlag(QWebEnginePage::FindCaseSensitively, ui->caseSensitivity_checkBox->isChecked()); @@ -41,7 +39,6 @@ SearchForm::~SearchForm() void SearchForm::setView(QWebEngineView* view) { - qDebug("setting view: %s", view == nullptr ? "nullptr" : "valid"); this->view = view; } |