mirror of
https://github.com/fralx/LimeReport.git
synced 2025-01-11 09:08:09 +03:00
dataSourceManager connects queryTextChanged(QString,QString)) after loading query collection
This commit is contained in:
parent
8b77433ab3
commit
744c6dfe87
@ -957,12 +957,16 @@ void DataSourceManager::collectionLoadFinished(const QString &collectionName)
|
||||
|
||||
if (collectionName.compare("queries",Qt::CaseInsensitive)==0){
|
||||
foreach(QueryDesc* query,m_queries){
|
||||
connect(query, SIGNAL(queryTextChanged(QString,QString)),
|
||||
this, SLOT(slotQueryTextChanged(QString,QString)));
|
||||
putHolder(query->queryName(),new QueryHolder(query->queryText(), query->connectionName(), this));
|
||||
}
|
||||
}
|
||||
|
||||
if (collectionName.compare("subqueries",Qt::CaseInsensitive)==0){
|
||||
foreach(SubQueryDesc* query,m_subqueries){
|
||||
connect(query, SIGNAL(queryTextChanged(QString,QString)),
|
||||
this, SLOT(slotQueryTextChanged(QString,QString)));
|
||||
putHolder(query->queryName(),new SubQueryHolder(query->queryText(), query->connectionName(), query->master(), this));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user