[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bindings
Subject:    Re: [Kde-bindings] Problems builing RUBY binding
From:       Dominique Devriese <dominique.devriese () student ! kuleuven ! ac ! be>
Date:       2004-06-04 10:38:33
Message-ID: 87zn7jsj4m.fsf () student ! kuleuven ! ac ! be
[Download RAW message or body]

Alex Martin Ugalde writes:

> Hi Dominique,
> 	Great!! It fixes the error!!!!

> But now, (after did make clean) i got a new one :)

Here's a patch for that problem.  I've committed both to CVS HEAD as
well.

cheers
domi


[Attachment #3 (text/x-patch)]

Index: embed.cpp
===================================================================
RCS file: /home/kde/kdebindings/qtruby/rubylib/designer/rbuic/embed.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -b -p -u -r1.6 -r1.7
--- embed.cpp	3 May 2004 21:33:16 -0000	1.6
+++ embed.cpp	4 Jun 2004 10:35:51 -0000	1.7
@@ -192,7 +192,7 @@ void Uic::embed( QTextStream& out, const
         {
 	    out << indent << "\"" << e->name << "\"" << " => [" << e->cname << "_data, "
                 << e->width << ", " << e->height << ", " << e->depth << ", "
-                << (e->numColors ? e->cname + "_ctable" : "[]" ) << ", "
+                << (e->numColors ? e->cname + "_ctable" : QString::fromLatin1( "[]" ) ) << ", "
                 << (e->alpha ? "true" : "false") << "]," << endl;
 	    e = list_image.next();
 	}


_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic