X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/bf50ced73473a225d681de6b62bc05571d969664..9470a816eb578de47abe39788db5ea73fb22232e:/src/urlnavigator.cpp diff --git a/src/urlnavigator.cpp b/src/urlnavigator.cpp index b9290983f..e273e76cb 100644 --- a/src/urlnavigator.cpp +++ b/src/urlnavigator.cpp @@ -69,6 +69,7 @@ UrlNavigator::UrlNavigator(const KUrl& url, QWidget* parent) : QWidget(parent), m_active(true), + m_showHiddenFiles(false), m_historyIndex(0), m_layout(0), m_protocols(0), @@ -231,6 +232,11 @@ void UrlNavigator::setActive(bool active) } } +void UrlNavigator::setShowHiddenFiles( bool show ) +{ + m_showHiddenFiles = show; +} + void UrlNavigator::dropUrls(const KUrl::List& urls, const KUrl& destination) { @@ -343,7 +349,7 @@ void UrlNavigator::slotReturnPressed(const QString& text) KUrl typedUrl(text); if (typedUrl.hasPass()) { - typedUrl.setPass(QString::null); + typedUrl.setPass(QString()); } QStringList urls = m_pathBox->urls(); @@ -567,7 +573,7 @@ void UrlNavigator::updateContent() QString hostText = url().host(); if (!url().user().isEmpty()) { - hostText = url().user() + "@" + hostText; + hostText = url().user() + '@' + hostText; } if (!m_host) {