I imagine this should use the game window width, but I'll let someone else figure it out. I'm just sick of frames being half-visible in navigation.
#include <QtGui/QApplication>
#include "mainwindow.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}