summaryrefslogtreecommitdiffstats
path: root/gui/IconPickerDialog.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-08-27 18:31:49 +0200
committerPetr Mrázek <peterix@gmail.com>2013-08-27 18:31:49 +0200
commit73f534939a53dc7874890f6cb7cdae648e38300d (patch)
tree30198f0fe120c469606caee19dc63b64e9785ed8 /gui/IconPickerDialog.cpp
parentde456b2b0b7e173c31697782b81e906e6c005061 (diff)
downloadMultiMC-73f534939a53dc7874890f6cb7cdae648e38300d.tar
MultiMC-73f534939a53dc7874890f6cb7cdae648e38300d.tar.gz
MultiMC-73f534939a53dc7874890f6cb7cdae648e38300d.tar.lz
MultiMC-73f534939a53dc7874890f6cb7cdae648e38300d.tar.xz
MultiMC-73f534939a53dc7874890f6cb7cdae648e38300d.zip
And more OSX thing.
Diffstat (limited to 'gui/IconPickerDialog.cpp')
-rw-r--r--gui/IconPickerDialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/IconPickerDialog.cpp b/gui/IconPickerDialog.cpp
index d3a33e57..b75eb30c 100644
--- a/gui/IconPickerDialog.cpp
+++ b/gui/IconPickerDialog.cpp
@@ -11,6 +11,8 @@ IconPickerDialog::IconPickerDialog(QWidget *parent) :
ui(new Ui::IconPickerDialog)
{
ui->setupUi(this);
+ setWindowModality(Qt::WindowModal);
+
auto contentsWidget = ui->iconView;
contentsWidget->setViewMode(QListView::IconMode);
contentsWidget->setFlow(QListView::LeftToRight);