|
From: <cn...@us...> - 2024-04-01 23:06:16
|
Revision: 1463
http://sourceforge.net/p/seq/svn/1463
Author: cn187
Date: 2024-04-01 23:06:14 +0000 (Mon, 01 Apr 2024)
Log Message:
-----------
Fix AddFilter dialog compile error under qt4
Modified Paths:
--------------
showeq/branches/cn187_devel/src/filtermgr.cpp
Modified: showeq/branches/cn187_devel/src/filtermgr.cpp
===================================================================
--- showeq/branches/cn187_devel/src/filtermgr.cpp 2024-04-01 22:51:03 UTC (rev 1462)
+++ showeq/branches/cn187_devel/src/filtermgr.cpp 2024-04-01 23:06:14 UTC (rev 1463)
@@ -760,13 +760,13 @@
return;
}
- QStringList::const_iterator itr = tokens.cbegin();
- for (;itr < tokens.cend(); ++itr)
+ QStringList::const_iterator itr = tokens.begin();
+ for (;itr < tokens.end(); ++itr)
{
QString name = *itr;
if (!map->contains(name))
{
- if (!name.length() && itr == tokens.cend() - 1)
+ if (!name.length() && itr == tokens.end() - 1)
{
//filter string has an ending : that we can ignore
continue;
@@ -776,7 +776,7 @@
++itr; // skip this field's data
continue;
}
- if (++itr == tokens.cend())
+ if (++itr == tokens.end())
continue;
QString value = *itr;
@@ -789,7 +789,7 @@
//TODO also, check on adding trailing : to Item spawn filterstring
//to make it consistent with the Spawn filterstring
value += ":";
- if (++itr == tokens.cend())
+ if (++itr == tokens.end())
continue;
value += *itr;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|