X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/1b4572dac9fb529d31b786f93e4f02c6f8aeeb21..dcd8c646a566eff1ff2c487fb2e7abe9a53a23cb:/src/panels/panel.cpp diff --git a/src/panels/panel.cpp b/src/panels/panel.cpp index 348191c98..40f816158 100644 --- a/src/panels/panel.cpp +++ b/src/panels/panel.cpp @@ -19,7 +19,6 @@ ***************************************************************************/ #include "panel.h" -#include Panel::Panel(QWidget* parent) : QWidget(parent), @@ -65,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; } }