some map replacing

This commit is contained in:
arcan1s
2015-08-04 00:15:19 +03:00
parent 7405b2ba1d
commit 1cddf6f14d
8 changed files with 17 additions and 23 deletions

View File

@ -346,7 +346,6 @@ void AWKeys::setDataBySource(const QString sourceName, const QVariantMap data,
if (sourceName == QString("update")) return emit(needToBeUpdated());
// checking
// if (!checkKeys(data)) return;
if (keys.isEmpty()) return;
// regular expressions
@ -866,15 +865,6 @@ void AWKeys::addKeyToCache(const QString type, const QString key)
}
bool AWKeys::checkKeys(const QVariantMap data) const
{
if (debug) qDebug() << PDEBUG;
if (debug) qDebug() << PDEBUG << ":" << "Data" << data;
return (data.count() != 0);
}
QString AWKeys::htmlValue(QString key) const
{
if (debug) qDebug() << PDEBUG;