diff --git a/limereport/lrdatasourcemanager.cpp b/limereport/lrdatasourcemanager.cpp index 55a3423..1e7d5b9 100644 --- a/limereport/lrdatasourcemanager.cpp +++ b/limereport/lrdatasourcemanager.cpp @@ -308,7 +308,6 @@ QSharedPointerDataSourceManager::previewSQL(const QString &c QSqlQuery query(db); query.prepare(queryText); - foreach(QString param,aliasesToParam.keys()){ QVariant value; if (param.contains(".")){ @@ -322,10 +321,6 @@ QSharedPointerDataSourceManager::previewSQL(const QString &c } query.exec(); - while (query.next()){ - qDebug()<setQuery(query); m_lastError = model->lastError().text(); if (model->query().isActive())