diff options
| author | Petr Mrázek <peterix@gmail.com> | 2014-02-04 21:18:02 +0100 |
|---|---|---|
| committer | Petr Mrázek <peterix@gmail.com> | 2014-02-04 21:18:02 +0100 |
| commit | c84c51860d4a39f9219998826c093e4e60b7bf0a (patch) | |
| tree | 503a92f41b58bfa91a16e6b6a7c4e1a058de361c /gui/groupview | |
| parent | 6206a241ea51864b22d493d5b7b0a9282c754571 (diff) | |
| download | PrismLauncher-c84c51860d4a39f9219998826c093e4e60b7bf0a.tar.gz PrismLauncher-c84c51860d4a39f9219998826c093e4e60b7bf0a.tar.bz2 PrismLauncher-c84c51860d4a39f9219998826c093e4e60b7bf0a.zip | |
Fix crash bug related to data changes in new group view.
Diffstat (limited to 'gui/groupview')
| -rw-r--r-- | gui/groupview/GroupView.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/groupview/GroupView.cpp b/gui/groupview/GroupView.cpp index 89e3e223..fb4b45f4 100644 --- a/gui/groupview/GroupView.cpp +++ b/gui/groupview/GroupView.cpp @@ -48,10 +48,14 @@ GroupView::~GroupView() void GroupView::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector<int> &roles) { + /* if (roles.contains(GroupViewRoles::GroupRole) || roles.contains(Qt::DisplayRole)) { + */ updateGeometries(); + /* } + */ viewport()->update(); } void GroupView::rowsInserted(const QModelIndex &parent, int start, int end) |
