<html style="direction: ltr;">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="UTF-8" bgcolor="#FFFFFF"
text="#000000">
<p><font face="Tahoma"></font>On 13/09/2011 06:03 م, Baz Walter
wrote: </p>
<blockquote cite="mid:4E6F70BA.5080402@ftml.net" type="cite">On
13/09/11 15:14, <a class="moz-txt-link-abbreviated"
href="mailto:admin@mbnoimi.net">admin@mbnoimi.net</a> wrote: <br>
<br>
the signature for showSplash is: <br>
<br>
def showSplash(self, delay, messages, alignment, color): <br>
<br>
but you're calling it with: <br>
<br>
splash.showSplash(0, 50, messages, QColor(255, 255, 0)) <br>
<br>
you could have debugged this easily by adding the following line
before the offending for loop: <br>
<br>
print type(messages), repr(messages) <br>
<br>
also, if the for loop would be much better written as: <br>
<br>
for message in messages: <br>
# do stuff with message <br>
<br>
or, if you need the index: <br>
<br>
for index, message in enumerate(messages): <br>
# do stuff with index and message </blockquote>
<p>Thanks, </p>
<p><br>
</p>
<p>I fixed the class and now it's working well. You can find it in
the attachment.</p>
<p> </p>
</body>
</html>