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

List:       kde-devel
Subject:    Re: error in a test with className()
From:       David Faure <faure () kde ! org>
Date:       2004-12-16 18:44:37
Message-ID: 200412161944.37661.faure () kde ! org
[Download RAW message or body]

> 	if(w->className() == "beConsole")
Use qstrcmp to compare two char*, you're currently comparing pointers, which can't work.

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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