diff options
| author | 2014-12-14 08:24:26 -0500 | |
|---|---|---|
| committer | 2014-12-14 08:24:26 -0500 | |
| commit | 89214766d8e3e7b8dd749a1fa18a5b9727f5010d (patch) | |
| tree | 34ad5aa84ac9674ebb5b7a23b5a3377e8629ee33 /SQLiteStudio3/guiSQLiteStudio/dbtree/dbtreemodel.cpp | |
| parent | 7167ce41b61d2ba2cdb526777a4233eb84a3b66a (diff) | |
Imported Upstream version 3.0.0upstream/3.0.0
Diffstat (limited to 'SQLiteStudio3/guiSQLiteStudio/dbtree/dbtreemodel.cpp')
| -rw-r--r-- | SQLiteStudio3/guiSQLiteStudio/dbtree/dbtreemodel.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/SQLiteStudio3/guiSQLiteStudio/dbtree/dbtreemodel.cpp b/SQLiteStudio3/guiSQLiteStudio/dbtree/dbtreemodel.cpp index 8a71a10..281510f 100644 --- a/SQLiteStudio3/guiSQLiteStudio/dbtree/dbtreemodel.cpp +++ b/SQLiteStudio3/guiSQLiteStudio/dbtree/dbtreemodel.cpp @@ -1152,7 +1152,7 @@ void DbTreeModel::moveOrCopyDbObjects(const QList<DbTreeItem*>& srcItems, DbTree bool DbTreeModel::confirmReferencedTables(const QStringList& tables) { QMessageBox::StandardButton result = QMessageBox::question(MAINWINDOW, tr("Referenced tables"), - tr("Do you want to include following referenced tables as well:\n%1").arg(tables.join(", "))); + tr("Do you want to include following referenced tables as well:\n%1").arg(tables.join(", "))); return result == QMessageBox::Yes; } @@ -1180,7 +1180,7 @@ bool DbTreeModel::confirmConversion(const QList<QPair<QString, QString> >& diffs return dialog.exec() == QDialog::Accepted; } -bool DbTreeModel::confirmConversionErrors(const QHash<QString,QSet<QString>>& errors) +bool DbTreeModel::confirmConversionErrors(const QHash<QString, QSet<QString> >& errors) { ErrorsConfirmDialog dialog(MAINWINDOW); dialog.setTopLabel(tr("Following error occurred while converting SQL statements to the target SQLite version:")); @@ -1188,6 +1188,7 @@ bool DbTreeModel::confirmConversionErrors(const QHash<QString,QSet<QString>>& er dialog.setErrors(errors); return dialog.exec() == QDialog::Accepted; } + bool DbTreeModel::getIgnoreDbLoadedSignal() const { return ignoreDbLoadedSignal; |
