mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-24 16:44:39 +03:00
Debug output has been removed
This commit is contained in:
parent
5455b53404
commit
6a507e5b61
@ -308,7 +308,6 @@ QSharedPointer<QAbstractItemModel>DataSourceManager::previewSQL(const QString &c
|
|||||||
QSqlQuery query(db);
|
QSqlQuery query(db);
|
||||||
query.prepare(queryText);
|
query.prepare(queryText);
|
||||||
|
|
||||||
|
|
||||||
foreach(QString param,aliasesToParam.keys()){
|
foreach(QString param,aliasesToParam.keys()){
|
||||||
QVariant value;
|
QVariant value;
|
||||||
if (param.contains(".")){
|
if (param.contains(".")){
|
||||||
@ -322,10 +321,6 @@ QSharedPointer<QAbstractItemModel>DataSourceManager::previewSQL(const QString &c
|
|||||||
}
|
}
|
||||||
|
|
||||||
query.exec();
|
query.exec();
|
||||||
while (query.next()){
|
|
||||||
qDebug()<<query.value(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
model->setQuery(query);
|
model->setQuery(query);
|
||||||
m_lastError = model->lastError().text();
|
m_lastError = model->lastError().text();
|
||||||
if (model->query().isActive())
|
if (model->query().isActive())
|
||||||
|
Loading…
Reference in New Issue
Block a user