OSX tweakery

This commit is contained in:
Petr Mrázek 2013-08-27 18:27:58 +02:00
parent e17655243c
commit de456b2b0b
3 changed files with 3 additions and 1 deletions

View File

@ -38,6 +38,7 @@ LegacyModEditDialog::LegacyModEditDialog( LegacyInstance* inst, QWidget* parent
m_texturepacks = m_inst->texturePackList(); m_texturepacks = m_inst->texturePackList();
ui->jarModsTreeView->setModel(m_jarmods.data()); ui->jarModsTreeView->setModel(m_jarmods.data());
//ui->jarModsTreeView->setDragDropMode(QAbstractItemView::DragDrop);
ui->coreModsTreeView->setModel(m_coremods.data()); ui->coreModsTreeView->setModel(m_coremods.data());
ui->mlModTreeView->setModel(m_mods.data()); ui->mlModTreeView->setModel(m_mods.data());
ui->texPackTreeView->setModel(m_texturepacks.data()); ui->texPackTreeView->setModel(m_texturepacks.data());

View File

@ -108,7 +108,7 @@ void NewInstanceDialog::on_btnChangeVersion_clicked()
void NewInstanceDialog::on_iconButton_clicked() void NewInstanceDialog::on_iconButton_clicked()
{ {
IconPickerDialog dlg; IconPickerDialog dlg(this);
dlg.exec(InstIconKey); dlg.exec(InstIconKey);
if(dlg.result() == QDialog::Accepted) if(dlg.result() == QDialog::Accepted)

View File

@ -31,6 +31,7 @@ VersionSelectDialog::VersionSelectDialog(InstVersionList *vlist, QWidget *parent
ui(new Ui::VersionSelectDialog) ui(new Ui::VersionSelectDialog)
{ {
ui->setupUi(this); ui->setupUi(this);
setWindowModality(Qt::WindowModal);
m_vlist = vlist; m_vlist = vlist;