aboutsummaryrefslogtreecommitdiff
path: root/science/kst2
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2011-10-31 14:06:05 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2011-10-31 14:06:05 +0000
commit29b7d4567c289e40a175593876a515f9ee3831ca (patch)
treee6b7c068c033f258566cf7a6765eeb12dcb1d324 /science/kst2
parent148f5da423cb1b076cee01bf0789445464266953 (diff)
downloadports-29b7d4567c289e40a175593876a515f9ee3831ca.tar.gz
ports-29b7d4567c289e40a175593876a515f9ee3831ca.zip
Notes
Diffstat (limited to 'science/kst2')
-rw-r--r--science/kst2/files/patch-r1250995.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/science/kst2/files/patch-r1250995.cpp b/science/kst2/files/patch-r1250995.cpp
new file mode 100644
index 000000000000..ac262bf55e61
--- /dev/null
+++ b/science/kst2/files/patch-r1250995.cpp
@@ -0,0 +1,11 @@
+--- ./src/widgets/cclineedit.cpp 2011/08/31 19:42:34 1250623
++++ ./src/widgets/cclineedit.cpp 2011/09/02 16:27:48 1250995
+@@ -582,7 +582,7 @@
+ }
+
+ #define SIZE_LIMITED_NAME sizeLimitedName( (_cc&&_cc->_tableView)?_cc->_tableView->font():QFont(), \
+- (_cc&&_cc->_tableView)? ((_cc->_tableView->width()/2-50)): 900000000000)
++ (_cc&&_cc->_tableView)? ((_cc->_tableView->width()/2-50)): INT_MAX)
+
+ void SVCCLineEdit::fillKstObjects()
+ {