aboutsummaryrefslogtreecommitdiff
path: root/lib/addressbar
diff options
context:
space:
mode:
Diffstat (limited to 'lib/addressbar')
-rw-r--r--lib/addressbar/addressbar.cpp5
-rw-r--r--lib/addressbar/addressbar.h1
-rw-r--r--lib/addressbar/urllineedit.cpp3
-rw-r--r--lib/addressbar/urllineedit.h2
4 files changed, 0 insertions, 11 deletions
diff --git a/lib/addressbar/addressbar.cpp b/lib/addressbar/addressbar.cpp
index 7d17462..d570507 100644
--- a/lib/addressbar/addressbar.cpp
+++ b/lib/addressbar/addressbar.cpp
@@ -71,11 +71,6 @@ void AddressBar::setProgress(int value) {
progressBar->setValue(std::min(value, 100));
}
-void AddressBar::setPageMenu(QMenu *menu)
-{
- urlBar->pageMenu = menu;
-}
-
void AddressBar::setToolsMenu(QMenu *menu)
{
urlBar->toolsMenu = menu;
diff --git a/lib/addressbar/addressbar.h b/lib/addressbar/addressbar.h
index e87f72e..f1d93c7 100644
--- a/lib/addressbar/addressbar.h
+++ b/lib/addressbar/addressbar.h
@@ -34,7 +34,6 @@ public slots:
void setUrl(const QUrl &url);
void setProgress(int value);
- void setPageMenu(QMenu *menu);
void setToolsMenu(QMenu *menu);
private:
diff --git a/lib/addressbar/urllineedit.cpp b/lib/addressbar/urllineedit.cpp
index 29a14cd..c106ea4 100644
--- a/lib/addressbar/urllineedit.cpp
+++ b/lib/addressbar/urllineedit.cpp
@@ -60,9 +60,6 @@ UrlLineEdit::UrlLineEdit(QWidget *parent)
menu->addActions(actions);
menu->addSeparator();
- if(pageMenu) {
- menu->addMenu(pageMenu);
- }
if(toolsMenu) {
menu->addMenu(toolsMenu);
}
diff --git a/lib/addressbar/urllineedit.h b/lib/addressbar/urllineedit.h
index 56914c4..d5ab33d 100644
--- a/lib/addressbar/urllineedit.h
+++ b/lib/addressbar/urllineedit.h
@@ -30,8 +30,6 @@ public slots:
public:
QAction *menuAction = nullptr;
- // pageMenu action: zoom, print
- QMenu *pageMenu = nullptr;
// devMenu action: scripts, etc
QMenu *toolsMenu = nullptr;