]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/protocolcombo.cpp
Cleanup of signal/slot handling between the dolphin view and the main window: now...
[dolphin.git] / src / protocolcombo.cpp
index f5f398ebcb6ee71de5c9ef34f60c744c9bb8c7e8..3bc81870627e065be04a7dc5ce6b74d991b748bd 100644 (file)
@@ -27,8 +27,8 @@
 
 const static int customProtocolIndex = 0;
 
-ProtocolCombo::ProtocolCombo(const QString& protocol, URLNavigator* parent)
-    : URLNavigatorButton(-1, parent),
+ProtocolCombo::ProtocolCombo(const QString& protocol, UrlNavigator* parent)
+    : UrlNavigatorButton(-1, parent),
       m_protocols(KProtocolInfo::protocols())
 {
     qSort(m_protocols);
@@ -48,7 +48,7 @@ ProtocolCombo::ProtocolCombo(const QString& protocol, URLNavigator* parent)
         //kDebug() << "!!! removing " << *it << endl;
             QStringList::iterator tempIt = it;
             ++tempIt;
-            m_protocols.remove(it);
+            m_protocols.erase(it);
             it = tempIt;
         }
         else