summaryrefslogtreecommitdiffstats
path: root/labb4/robotsmain.cpp
blob: 64eb176accbecb58e27b5238671a08d6ba107c1c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
 * TDDD86 Robots
 * This client program 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"
#include "utilities.h"

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

    rand_seed();     // seed random number generator

    MainWindow view; // create main window
    view.show();     // display main window

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