Fix minor warning (redundant code)

master
jp9000 2014-03-10 14:00:53 -07:00
parent 806837873a
commit 9a07f9b875
1 changed files with 1 additions and 1 deletions

View File

@ -647,7 +647,7 @@ static bool ValidResolutions(Ui::OBSBasicSettings *ui)
void OBSBasicSettings::on_baseResolution_editTextChanged(const QString &text)
{
if (!loading && ValidResolutions(ui.get())) {
QString baseResolution = ui->baseResolution->currentText();
QString baseResolution = text;
uint32_t cx, cy;
ConvertResText(QT_TO_UTF8(baseResolution), cx, cy);