DBBrowserDB: Remove the dirty flag

Remove the dirty flag as it is no longer needed. Because we track the
savepoints currently held open we can just use that list to see wether
there are changes to be committed. So there is no need to track this in
a separate variable.
This commit is contained in:
Martin Kleusberg
2013-05-23 18:16:58 +02:00
parent 6de8425985
commit f3ae25572d
3 changed files with 6 additions and 17 deletions

View File

@@ -107,7 +107,6 @@ void EditTableDialog::accept()
if(m_bNewTable)
{
// Creation of new table
// we commit immediatly so no need to setdirty
if(!pdb->executeSQL(m_table.sql()))
{
QMessageBox::warning(