summaryrefslogtreecommitdiff
path: root/devel/subcommander2/files/patch-subcommander__RpViewTreeProxyModel.cpp
blob: 9b8a37c27e5c24d3f07000dd7690f4197a6cb2d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- subcommander/RpViewTreeProxyModel.cpp.orig	2008-08-09 15:55:24.000000000 +0900
+++ subcommander/RpViewTreeProxyModel.cpp	2012-05-10 05:52:30.000000000 +0900
@@ -28,7 +28,7 @@
 {
   QVariant value = sourceModel()->data( mapToSource(index), role );
 
-  if( index.column() == 0 && role == Qt::DisplayRole || role == Qt::EditRole )
+  if( (index.column() == 0 && role == Qt::DisplayRole) || role == Qt::EditRole )
   {
     QString temp = value.toString();