┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/panels/panel.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/panels/panel.cpp b/src/panels/panel.cpp
index 30cff509d..40f816158 100644
--- a/src/panels/panel.cpp
+++ b/src/panels/panel.cpp
@@ -64,8 +64,7 @@ void Panel::setUrl(const QUrl& url)
const QUrl oldUrl = m_url;
m_url = url;
- const bool accepted = urlChanged();
- if (!accepted) {
+ if (!urlChanged()) {
m_url = oldUrl;
}
}