mirror of https://github.com/ioquake/launch.git
Fixed uninitialized memory and one small typo.
This commit is contained in:
parent
b11ebf35b3
commit
f1e8bbe2de
|
@ -3,7 +3,8 @@
|
||||||
|
|
||||||
ioLaunch::ioLaunch(QWidget *parent) :
|
ioLaunch::ioLaunch(QWidget *parent) :
|
||||||
QMainWindow(parent),
|
QMainWindow(parent),
|
||||||
ui(new Ui::ioLaunch)
|
ui(new Ui::ioLaunch),
|
||||||
|
ioWidth(0), ioHeight(0), ioWedited(false), ioHedited(false)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
resOption = "";
|
resOption = "";
|
||||||
|
@ -116,7 +117,7 @@ void ioLaunch::on_cbResolution_currentIndexChanged(int index)
|
||||||
}
|
}
|
||||||
case 8:
|
case 8:
|
||||||
{
|
{
|
||||||
resOption = " +set r_customwidth 1024 +set r_customheight 3768";
|
resOption = " +set r_customwidth 1024 +set r_customheight 768";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 9:
|
case 9:
|
||||||
|
|
Loading…
Reference in New Issue