Coding style fixes.

This commit is contained in:
Florian Geyer 2012-06-12 09:53:59 +02:00
parent bd5dd130e5
commit 2c88810459
2 changed files with 6 additions and 6 deletions

View file

@ -210,12 +210,10 @@ bool DatabaseTabWidget::closeDatabase(Database* db)
}
}
if (dbStruct.modified) {
if(config()->get("AutoSaveOnExit").toBool())
{
if (config()->get("AutoSaveOnExit").toBool()) {
saveDatabase(db);
}
else
{
else {
QMessageBox::StandardButton result =
QMessageBox::question(
this, tr("Save changes?"),