Ticket #19227: patch-litemanwindow.cpp.diff

File patch-litemanwindow.cpp.diff, 520 bytes (added by nerdrew@…, 16 years ago)
  • sqliteman/litemanwindow.cpp

     
    129129                i.next();
    130130                QSqlDatabase::database(i.value()).rollback();
    131131                QSqlDatabase::database(i.value()).close();
     132                QSqlDatabase::removeDatabase(i.value());
    132133        }
    133134
    134         // It has to go after writeSettings()!
    135         foreach (QWidget *widget, QApplication::topLevelWidgets())
    136                 widget->close();
    137 
    138135        e->accept();
    139136}
    140137