examples/webkit/previewer/main.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
    44 
    44 
    45 //! [0]
    45 //! [0]
    46 int main(int argc, char * argv[])
    46 int main(int argc, char * argv[])
    47 {
    47 {
    48     QApplication app(argc, argv);
    48     QApplication app(argc, argv);
    49     MainWindow *mainWindow = new MainWindow;
    49     MainWindow mainWindow;
    50     mainWindow->show();
    50     mainWindow.show();
    51     return app.exec();
    51     return app.exec();
    52 }
    52 }
    53 //! [0]
    53 //! [0]