mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Qt: buildfix
This commit is contained in:
parent
2a784ae1bc
commit
faf52937c5
@ -852,12 +852,12 @@ void MainWindow::setCustomThemeString(QString qss)
|
||||
|
||||
bool MainWindow::showMessageBox(QString msg, MessageBoxType msgType, Qt::WindowModality modality)
|
||||
{
|
||||
QPointer<QScopedPointer<QMessageBox> > msgBoxPtr;
|
||||
QPointer<QMessageBox> msgBoxPtr;
|
||||
QMessageBox *msgBox = NULL;
|
||||
QCheckBox *checkBox = NULL;
|
||||
|
||||
msgBoxPtr.data()->reset(new QMessageBox(this));
|
||||
msgBox = msgBoxPtr.data()->data();
|
||||
msgBoxPtr = new QMessageBox(this);
|
||||
msgBox = msgBoxPtr.data();
|
||||
checkBox = new QCheckBox(msg_hash_to_str(MENU_ENUM_LABEL_VALUE_QT_DONT_SHOW_AGAIN), msgBox);
|
||||
|
||||
msgBox->setWindowModality(modality);
|
||||
|
Loading…
x
Reference in New Issue
Block a user