Qt: Minor window fixes

* Remove some more "What's this?" buttons
* Add some missing titles
This commit is contained in:
spycrab 2018-05-14 09:00:40 +02:00
parent 2be8c35d6d
commit 7e9bf12246
4 changed files with 6 additions and 0 deletions

View File

@ -310,6 +310,9 @@ void FilesystemWidget::CheckIntegrity(const DiscIO::Partition& partition)
std::launch::async, [this, partition] { return m_volume->CheckIntegrity(partition); });
dialog->setLabelText(tr("Verifying integrity of partition..."));
dialog->setWindowFlags(dialog->windowFlags() & ~Qt::WindowContextHelpButtonHint);
dialog->setWindowTitle(tr("Verifying partition"));
dialog->setMinimum(0);
dialog->setMaximum(0);
dialog->show();

View File

@ -400,6 +400,7 @@ void GameList::DeleteFile()
QMessageBox confirm_dialog(this);
confirm_dialog.setIcon(QMessageBox::Warning);
confirm_dialog.setWindowTitle(tr("Confirm"));
confirm_dialog.setText(tr("Are you sure you want to delete this file?"));
confirm_dialog.setInformativeText(tr("This cannot be undone!"));
confirm_dialog.setStandardButtons(QMessageBox::Yes | QMessageBox::Cancel);

View File

@ -15,6 +15,7 @@
PadMappingDialog::PadMappingDialog(QWidget* parent) : QDialog(parent)
{
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
setWindowTitle(tr("Assign Controllers"));
CreateWidgets();
ConnectWidgets();

View File

@ -33,6 +33,7 @@ void Updater::OnUpdateAvailable(const NewVersionInformation& info)
int choice = RunOnObject(m_parent, [&] {
QDialog* dialog = new QDialog(m_parent);
dialog->setWindowTitle(tr("Update available"));
dialog->setWindowFlags(dialog->windowFlags() & ~Qt::WindowContextHelpButtonHint);
auto* label = new QLabel(
tr("<h2>A new version of Dolphin is available!</h2>Dolphin %1 is available for "