[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdebindings/qtruby/rubylib/qtruby/lib/Qt
From: Richard Dale <Richard_Dale () tipitina ! demon ! co ! uk>
Date: 2006-01-10 10:24:27
Message-ID: 1136888667.434275.22016.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 496301 by rdale:
* The Qt::SizePolicy constructor was failing with uchar types passed as ruby \
Integers. The following call now works correctly:
s = Qt::SizePolicy.new(Qt::SizePolicy::NoDirection, Qt::SizePolicy::NoDirection, \
1, 3)
Fixes problem reported by orem on #qtruby
M +1 -1 qtruby.rb
--- branches/KDE/3.5/kdebindings/qtruby/rubylib/qtruby/lib/Qt/qtruby.rb \
#496300:496301 @@ -583,7 +583,7 @@
if argtype == 'i'
if typename =~ /^int&?$|^signed int&?$|^signed$|^Q_INT32&?$/
return 1
- elsif typename =~ /^(?:short|ushort|unsigned short int|uint|long|ulong|unsigned \
long int|unsigned|float|double)$/ + elsif typename =~ /^(?:short|ushort|unsigned \
short int|uchar|uint|long|ulong|unsigned long int|unsigned|float|double)$/ return 0
else
t = typename.sub(/^const\s+/, '')
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic