Don't use (Windows-specific) dialog style for details
This commit is contained in:
parent
779acb8c3a
commit
7866787e2e
|
@ -1279,7 +1279,11 @@ void MainWindow::showFileDetails()
|
||||||
if (!m_file.isOpen()) {
|
if (!m_file.isOpen()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
QMessageBox::information(this, tr("File details"), QString::fromStdString(m_file.summary(saveOptions())));
|
QMessageBox msgBox;
|
||||||
|
msgBox.setWindowTitle(tr("File details"));
|
||||||
|
msgBox.setText(QString::fromStdString(m_file.summary(saveOptions())));
|
||||||
|
msgBox.setIcon(QMessageBox::NoIcon);
|
||||||
|
msgBox.exec();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
Loading…
Reference in New Issue