aboutsummaryrefslogtreecommitdiff
path: root/src/webengine/webview.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-04-17 17:43:38 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-04-17 17:43:38 +0200
commite4ffd8374040d36c22125eeb534d884f56978592 (patch)
tree1917ed64bf8e6e391ebf46de79a6fea41e0dcf68 /src/webengine/webview.cpp
parentHovering over links shows them in the status bar again (diff)
downloadsmolbote-e4ffd8374040d36c22125eeb534d884f56978592.tar.xz
Style pass
Diffstat (limited to 'src/webengine/webview.cpp')
-rw-r--r--src/webengine/webview.cpp4
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);