diff options
author | deva <deva> | 2008-09-04 12:25:09 +0000 |
---|---|---|
committer | deva <deva> | 2008-09-04 12:25:09 +0000 |
commit | 26dc58fb696ac1f96e018fbae7083d1ba2a1a55a (patch) | |
tree | 8fd6e55c2428c883d023677134b7a6e558246546 /client/widgets/dbwidget.cc | |
parent | 4dd7add65ed2648e7c139df3138e489f8dbd8e43 (diff) |
Made macrowindow clean up proprely when closed (thus terminating dangling db connections through dbwidget).
Diffstat (limited to 'client/widgets/dbwidget.cc')
-rw-r--r-- | client/widgets/dbwidget.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/widgets/dbwidget.cc b/client/widgets/dbwidget.cc index 69c868e..1c0a0d2 100644 --- a/client/widgets/dbwidget.cc +++ b/client/widgets/dbwidget.cc @@ -94,6 +94,7 @@ DBWidget::DBWidget(QDomNode &node, MacroWindow *macrowindow) DBWidget::~DBWidget() { db.close(); + db = QSqlDatabase(); } |