remove explicit pointer reference

This commit is contained in:
Johannes Hilden 2016-03-19 10:51:25 +03:00
parent 8f7f34dbc2
commit 07f3e183b4
1 changed files with 1 additions and 2 deletions

View File

@ -6,8 +6,7 @@ int main(int argc, char *argv[])
{ {
QApplication a(argc, argv); QApplication a(argc, argv);
Style *style = new Style; a.setStyle(new Style);
a.setStyle(style);
MainWindow w; MainWindow w;
w.show(); w.show();