[Qt-creator] Wrong red underline

Leo Spalteholz leo.spalteholz at gmail.com
Thu Nov 6 23:33:55 CET 2008


On Thu, Nov 6, 2008 at 2:21 PM, Adam Higerd <ahigerd at timeips.com> wrote:
> Leo Spalteholz wrote:
>> This line is underlined in red even though it compiles just fine:
>>
>> QTimer::singleShot(0, this, SLOT("nextStop()"));
>>
>> The error in the tooltip is:  expected token ')' got 'nextStop()'
>>
>> Leo
>> _______________________________________________
>> Qt-creator mailing list
>> Qt-creator at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>
>
> It may compile, but it's still wrong; SLOT doesn't need quotes.

Oh right, brainfart sorry.   :)

Leo



More information about the Qt-creator-old mailing list