diff options
author | jkobus <jaroslaw.kobus@digia.com> | 2014-10-06 16:13:33 +0200 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@digia.com> | 2014-10-06 16:15:11 +0200 |
commit | 241141938dc07bb3915d48eebf2f56c13261edeb (patch) | |
tree | c33d5d5e8439f861e81e791d7e72cbf906d6e96b /src/libs/installer | |
parent | 03caa03fd5f6389499eec8f7e6afdb20b1c08cda (diff) |
Compile fix
Change-Id: I76e16a7a05e655810a5705e34a1a10337aa58889
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Diffstat (limited to 'src/libs/installer')
-rw-r--r-- | src/libs/installer/component_p.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/installer/component_p.cpp b/src/libs/installer/component_p.cpp index 58477b2dd..9111a278d 100644 --- a/src/libs/installer/component_p.cpp +++ b/src/libs/installer/component_p.cpp @@ -219,7 +219,7 @@ Qt::ItemFlags ComponentModelHelper::flags() const { QVariant variant = data(Qt::UserRole - 1); if (!variant.isValid()) - return (Qt::ItemIsEnabled | Qt::ItemIsSelectable| Qt::ItemIsUserCheckable); + return Qt::ItemFlags(Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemIsUserCheckable); return Qt::ItemFlags(variant.toInt()); } |