mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
4d39f652bf
bugs.vcmi.eu/view.php?id=2369
14 lines
300 B
C++
14 lines
300 B
C++
#include <QApplication>
|
|
#include "StdInc.h"
|
|
#include "mainwindow_moc.h"
|
|
#include "sdldisplayquery.h"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
QApplication vcmilauncher(argc, argv);
|
|
auto displayList = getDisplays();
|
|
MainWindow mainWindow(displayList);
|
|
mainWindow.show();
|
|
return vcmilauncher.exec();
|
|
}
|