diff options
Diffstat (limited to 'src/webengine/webview.cpp')
-rw-r--r-- | src/webengine/webview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webengine/webview.cpp b/src/webengine/webview.cpp index dadac1e..3c4e19e 100644 --- a/src/webengine/webview.cpp +++ b/src/webengine/webview.cpp @@ -7,6 +7,7 @@ */ #include "webview.h" +#include "mainwindow/window.h" #include "webpage.h" #include "webprofile.h" #include "widgets/pagemenu.h" @@ -14,7 +15,6 @@ #include <QDialog> #include <QStatusBar> #include <QVBoxLayout> -#include "mainwindow/window.h" WebView::WebView(WebProfile *profile, QWidget *parent) : QWebEngineView(parent) @@ -73,7 +73,7 @@ int WebView::loadProgress() const return m_loadProgress; } -void WebView::search(const QString& term) +void WebView::search(const QString &term) { const QString searchUrl = m_profile->search().arg(QString(QUrl::toPercentEncoding(term))); load(searchUrl); |