Don't set index if using static map - avoids desync where map name is passed and list is set, but then index is set to 0
#include <QtGui/QApplication>
#include "mainwindow.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}