And more OSX thing.

This commit is contained in:
Petr Mrázek 2013-08-27 18:31:49 +02:00
parent de456b2b0b
commit 73f534939a

View File

@ -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);