aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow/widgets/searchform.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-04-17 17:23:53 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-04-17 17:23:53 +0200
commitc03fc45aca526f94e07b99672fb09825af86221c (patch)
tree302cd9f6cc8d7a8026aedfda326debf1ea48b6a4 /src/mainwindow/widgets/searchform.cpp
parentRemove LoadingBar (diff)
downloadsmolbote-c03fc45aca526f94e07b99672fb09825af86221c.tar.xz
Hovering over links shows them in the status bar again
Diffstat (limited to 'src/mainwindow/widgets/searchform.cpp')
-rw-r--r--src/mainwindow/widgets/searchform.cpp3
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;
}