summaryrefslogtreecommitdiffstats
path: root/labb3/tiles/tilemain.cpp
blob: f93a7871e5ad6b903be8dee99aac9bc96a1cf464 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * TDDD86 Tiles
 * This client program uses your TileList class and contains the 'main'
 * function to set up the overall program's graphical user interface.
 * Your code should work properly with an unmodified version of this file.
 */

#include <QApplication>
#include "mainwindow.h"

int main(int argc, char *argv[]) {
    QApplication a(argc, argv);

    MainWindow view;
    view.show();

    return a.exec(); // start Qt event loop
}