On Wednesday 05 September 2012 22:39:37 Darrell Anderson wrote:
Maybe is set later? Insert "kdDebug() << "KDE_SESSION_VERSION=" << version << endl;" before "TQStringList blacklist;", to check.
I already tried that. :-) The variable is empty.
Darrell
I just tested, seems that Qt think that QString::null is bigger than a non-null string.
Change the condition to
if ( !version.isNull() && version >= "4" )