From de456b2b0b7e173c31697782b81e906e6c005061 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Tue, 27 Aug 2013 18:27:58 +0200 Subject: [PATCH] OSX tweakery --- gui/LegacyModEditDialog.cpp | 1 + gui/newinstancedialog.cpp | 2 +- gui/versionselectdialog.cpp | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gui/LegacyModEditDialog.cpp b/gui/LegacyModEditDialog.cpp index ea5aa941..e16f979c 100644 --- a/gui/LegacyModEditDialog.cpp +++ b/gui/LegacyModEditDialog.cpp @@ -38,6 +38,7 @@ LegacyModEditDialog::LegacyModEditDialog( LegacyInstance* inst, QWidget* parent m_texturepacks = m_inst->texturePackList(); ui->jarModsTreeView->setModel(m_jarmods.data()); + //ui->jarModsTreeView->setDragDropMode(QAbstractItemView::DragDrop); ui->coreModsTreeView->setModel(m_coremods.data()); ui->mlModTreeView->setModel(m_mods.data()); ui->texPackTreeView->setModel(m_texturepacks.data()); diff --git a/gui/newinstancedialog.cpp b/gui/newinstancedialog.cpp index 3a4adbc1..f0a70a1b 100644 --- a/gui/newinstancedialog.cpp +++ b/gui/newinstancedialog.cpp @@ -108,7 +108,7 @@ void NewInstanceDialog::on_btnChangeVersion_clicked() void NewInstanceDialog::on_iconButton_clicked() { - IconPickerDialog dlg; + IconPickerDialog dlg(this); dlg.exec(InstIconKey); if(dlg.result() == QDialog::Accepted) diff --git a/gui/versionselectdialog.cpp b/gui/versionselectdialog.cpp index afe112f4..66d772b0 100644 --- a/gui/versionselectdialog.cpp +++ b/gui/versionselectdialog.cpp @@ -31,6 +31,7 @@ VersionSelectDialog::VersionSelectDialog(InstVersionList *vlist, QWidget *parent ui(new Ui::VersionSelectDialog) { ui->setupUi(this); + setWindowModality(Qt::WindowModal); m_vlist = vlist;