diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-04-17 17:23:53 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-04-17 17:23:53 +0200 |
commit | c03fc45aca526f94e07b99672fb09825af86221c (patch) | |
tree | 302cd9f6cc8d7a8026aedfda326debf1ea48b6a4 /src/mainwindow/widgets | |
parent | Remove LoadingBar (diff) | |
download | smolbote-c03fc45aca526f94e07b99672fb09825af86221c.tar.xz |
Hovering over links shows them in the status bar again
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; } |