summaryrefslogtreecommitdiffstats
path: root/examples/webkit/fancybrowser/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webkit/fancybrowser/main.cpp')
-rw-r--r--examples/webkit/fancybrowser/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/webkit/fancybrowser/main.cpp b/examples/webkit/fancybrowser/main.cpp
index 7f3c983..7ca862d 100644
--- a/examples/webkit/fancybrowser/main.cpp
+++ b/examples/webkit/fancybrowser/main.cpp
@@ -45,7 +45,7 @@
int main(int argc, char * argv[])
{
QApplication app(argc, argv);
- MainWindow *browser = new MainWindow;
- browser->show();
+ MainWindow browser;
+ browser.show();
return app.exec();
}