mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-27 01:06:19 +00:00
Changed: Use QString::number() instead of QString("%1") to convert an int to QString
This commit is contained in:
parent
6e650eb054
commit
fda2fa6b70
1 changed files with 5 additions and 5 deletions
|
@ -90,10 +90,10 @@ void CDisplaySettingsWidget::load()
|
||||||
windowedRadioButton->setChecked( true );
|
windowedRadioButton->setChecked( true );
|
||||||
}
|
}
|
||||||
|
|
||||||
widthLineEdit->setText( QString( "%1" ).arg( mode.width ) );
|
widthLineEdit->setText(QString::number(mode.width));
|
||||||
heightLineEdit->setText( QString( "%1" ).arg( mode.height ) );
|
heightLineEdit->setText(QString::number(mode.height));
|
||||||
xpositionLineEdit->setText( QString( "%1" ).arg( s.config.getInt( "PositionX" ) ) );
|
xpositionLineEdit->setText(QString::number(s.config.getInt("PositionX")));
|
||||||
ypositionLineEdit->setText( QString( "%1" ).arg( s.config.getInt( "PositionY" ) ) );
|
ypositionLineEdit->setText(QString::number(s.config.getInt("PositionY")));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -194,7 +194,7 @@ uint32 CDisplaySettingsWidget::findVideoModeIndex( CVideoMode *mode )
|
||||||
//| --------------------------------------|
|
//| --------------------------------------|
|
||||||
//| Auto | OpenGL modes |
|
//| Auto | OpenGL modes |
|
||||||
//| OpenGL | OpenGL modes |
|
//| OpenGL | OpenGL modes |
|
||||||
//| Direct3D | Direct3d modes |
|
//| Direct3D | Direct3D modes |
|
||||||
//| --------------------------------------|
|
//| --------------------------------------|
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue