mirror of
https://github.com/86Box/86Box.git
synced 2026-02-23 18:08:20 -07:00
Add some parens to the ternary
This commit is contained in:
@@ -186,7 +186,7 @@ NewFloppyDialog::onCreate()
|
||||
{
|
||||
auto filename = ui->fileField->fileName();
|
||||
QFileInfo fi(filename);
|
||||
filename = (fi.isRelative() && !fi.filePath().isEmpty()) ? usr_path + fi.filePath() : fi.filePath();
|
||||
filename = (fi.isRelative() && !fi.filePath().isEmpty()) ? (usr_path + fi.filePath()) : fi.filePath();
|
||||
ui->fileField->setFileName(filename);
|
||||
FileType fileType;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user