summaryrefslogtreecommitdiff
path: root/src/urlbar
diff options
context:
space:
mode:
Diffstat (limited to 'src/urlbar')
-rw-r--r--src/urlbar/completer.cpp2
-rw-r--r--src/urlbar/completer.hpp1
-rw-r--r--src/urlbar/urlbar.cpp2
-rw-r--r--src/urlbar/urlbar.hpp2
4 files changed, 3 insertions, 4 deletions
diff --git a/src/urlbar/completer.cpp b/src/urlbar/completer.cpp
index df864e05..a7b893df 100644
--- a/src/urlbar/completer.cpp
+++ b/src/urlbar/completer.cpp
@@ -14,8 +14,6 @@
#include <QLineEdit>
#include <QTreeWidget>
-static const QString searchUrl{"https://duckduckgo.com/?q=%1"};
-
// ------------------------------------------------------------------------
// Ctor and Dtor
diff --git a/src/urlbar/completer.hpp b/src/urlbar/completer.hpp
index 11c0f62b..fad22df2 100644
--- a/src/urlbar/completer.hpp
+++ b/src/urlbar/completer.hpp
@@ -30,4 +30,5 @@ public slots:
private:
QLineEdit *m_editor;
QTreeWidget *m_popup;
+ const QString searchUrl{"https://duckduckgo.com/?q=%1"};
};
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp
index 6c726d5a..4489765c 100644
--- a/src/urlbar/urlbar.cpp
+++ b/src/urlbar/urlbar.cpp
@@ -105,7 +105,7 @@ void UrlBar::setUrl(const QUrl &url)
setCursorPosition(0);
}
-void UrlBar::loadRequestedUrl(const QUrl &url, rekonq::OpenType type)
+void UrlBar::loadRequestedUrl(const QUrl &url, rekonq::OpenType)
{
clearFocus();
setText(url.toString());
diff --git a/src/urlbar/urlbar.hpp b/src/urlbar/urlbar.hpp
index 3e3b9059..7b6cc975 100644
--- a/src/urlbar/urlbar.hpp
+++ b/src/urlbar/urlbar.hpp
@@ -57,7 +57,7 @@ public slots:
*/
// void manageBookmarks();
- void loadRequestedUrl(const QUrl &url, rekonq::OpenType = rekonq::CurrentTab);
+ [[deprecated]] void loadRequestedUrl(const QUrl &url, rekonq::OpenType = rekonq::CurrentTab);
void loadStarted();
void loadProgress(int);