freebsd-ports/devel/subcommander2/files/patch-subcommander__RpViewTreeProxyModel.cpp
Marcelo Araujo 0b1cf879c5 - Update to 2.0.0.b5.2.
PR:		ports/172504
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2012-12-13 11:54:14 +00:00

11 lines
460 B
C++

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