summaryrefslogtreecommitdiffstats
path: root/examples/webkit/googlechat/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webkit/googlechat/main.cpp')
-rw-r--r--examples/webkit/googlechat/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/webkit/googlechat/main.cpp b/examples/webkit/googlechat/main.cpp
index 6b5e11f..ca94131 100644
--- a/examples/webkit/googlechat/main.cpp
+++ b/examples/webkit/googlechat/main.cpp
@@ -49,7 +49,7 @@ int main(int argc, char * argv[])
QNetworkProxyFactory::setUseSystemConfiguration(true);
- GoogleChat *chat = new GoogleChat;
- chat->show();
+ GoogleChat chat;
+ chat.show();
return app.exec();
}