Constified source parameter of copyParams so automatic conversions work.

git-svn-id: http://yate.null.ro/svn/yate/trunk@3214 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2010-04-20 07:10:27 +00:00
parent a0c1139c3a
commit 75bcd3205f
2 changed files with 2 additions and 2 deletions

View File

@ -2907,7 +2907,7 @@ bool QtClient::getProperty(QObject* obj, const char* name, String& value)
}
// Copy a string list to a list of parameters
void QtClient::copyParams(NamedList& dest, QStringList& src)
void QtClient::copyParams(NamedList& dest, const QStringList& src)
{
for (int i = 0; i < src.size(); i++) {
if (!src[i].length())

View File

@ -299,7 +299,7 @@ public:
* @param dest Destination list
* @param src Source string list
*/
static void copyParams(NamedList& dest, QStringList& src);
static void copyParams(NamedList& dest, const QStringList& src);
/**
* Copy a list of parameters to string list