src/upnp/*: mark methods const when possible and semantically sensible

parent 8fbcc073
......@@ -42,7 +42,7 @@ namespace Konversation
quint32 getNumDevicesDiscovered() const {return routers.count();}
/// Find a router using it's server name
UPnPRouter* findDevice(const QString & name) {return routers.find(name).value();}
UPnPRouter* findDevice(const QString & name) const {return routers.find(name).value();}
/// Set verbose mode
void setVerbose(bool v) {verbose = v;}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment