projects
/
emufront
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d51c41
)
MainWindow is created to stack rather than to heap.
author
Mikko Keinänen
<mikko.keinanen@gmail.com>
Wed, 20 Oct 2010 22:34:56 +0000
(
01:34
+0300)
committer
Mikko Keinänen
<mikko.keinanen@gmail.com>
Wed, 20 Oct 2010 22:34:56 +0000
(
01:34
+0300)
src/main.cpp
patch
|
blob
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index
b460e69
..
3f7ba60
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-60,7
+60,7
@@
int main(int argc, char *argv[])
}
else cout << " Database exists!" << endl;
- MainWindow *mw = new MainWindow;
- mw->show();
+ MainWindow mw;
+ mw.show();
return app.exec();
}