mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-04 09:42:40 +02:00
58bc0f7272
This adds another combobox for choosing the display. To ease the display choice we try to roughly describe the display (its resolution and location). The combobox is hidden for single display setups.
15 lines
262 B
C++
15 lines
262 B
C++
#include "StdInc.h"
|
|
#include "mainwindow_moc.h"
|
|
#include <QApplication>
|
|
#include "sdldisplayquery.h"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
auto displayList = getDisplays();
|
|
QApplication a(argc, argv);
|
|
MainWindow w(displayList);
|
|
w.show();
|
|
|
|
return a.exec();
|
|
}
|