summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-08-27 18:27:58 +0200
committerPetr Mrázek <peterix@gmail.com>2013-08-27 18:27:58 +0200
commitde456b2b0b7e173c31697782b81e906e6c005061 (patch)
treec11c6273767f2ce8d5e86bf6ce35d5c93e445717
parente17655243c92899c03514e189e6d74c7262b1b3f (diff)
downloadMultiMC-de456b2b0b7e173c31697782b81e906e6c005061.tar
MultiMC-de456b2b0b7e173c31697782b81e906e6c005061.tar.gz
MultiMC-de456b2b0b7e173c31697782b81e906e6c005061.tar.lz
MultiMC-de456b2b0b7e173c31697782b81e906e6c005061.tar.xz
MultiMC-de456b2b0b7e173c31697782b81e906e6c005061.zip
OSX tweakery
-rw-r--r--gui/LegacyModEditDialog.cpp1
-rw-r--r--gui/newinstancedialog.cpp2
-rw-r--r--gui/versionselectdialog.cpp1
3 files changed, 3 insertions, 1 deletions
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;