Fix warnings and dependencies
This commit is contained in:
parent
86a9a0d709
commit
ee86327869
14 changed files with 38 additions and 43 deletions
|
|
@ -586,7 +586,9 @@ void QueryTool::generateCode()
|
|||
{
|
||||
QString command = getCommand();
|
||||
if (resultList.empty()) {
|
||||
QMessageBox::question(this, "pglab", tr("Please execute the query first"), QMessageBox::Ok);
|
||||
QMessageBox::question(this, "pglab", tr("Please execute the query first"),
|
||||
QMessageBox::StandardButtons(QMessageBox::Ok),
|
||||
QMessageBox::Ok);
|
||||
}
|
||||
if (resultList.size() == 1) {
|
||||
std::shared_ptr<const Pgsql::Result> dbres = resultList[0]->GetPgsqlResult();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue