]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/urlnavigator.cpp
Add libkmetadata detection and minor fixes
[dolphin.git] / src / urlnavigator.cpp
index b9290983fdac19e93b57115182d2522e121f260f..1ac92474ea6046343448f5caeea581dc31db7883 100644 (file)
@@ -343,7 +343,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 +567,7 @@ void UrlNavigator::updateContent()
                 QString hostText = url().host();
 
                 if (!url().user().isEmpty()) {
-                    hostText = url().user() + "@" + hostText;
+                    hostText = url().user() + '@' + hostText;
                 }
 
                 if (!m_host) {