# workaround for Mandrake and other platforms
plt_name = plt_name.replace("Linux", "").replace("linux", "").replace("LINUX", "").strip()
# workaround for SuSe
- plt_name = plt_name.replace("Welcometo", "").strip()
+ plt_name = plt_name.replace("Welcome to", "").strip()
# ---
plt_name = " ".join(plt_name.split())
plt_ver = res.group(len(res.groups()))
// retrieve platform name
platName = QStringList::split( " ", name.join( " " ) ).join( " " );
platName = platName.replace( "Linux", "" ).replace( "linux", "" ).replace( "LINUX", "" ).stripWhiteSpace();
- platName = platName.replace( "Welcometo", "" ).stripWhiteSpace();
+ platName = platName.replace( "Welcome to", "" ).stripWhiteSpace();
platName = QStringList::split( " ", platName ).join( " " );
// retrieve platform version number
platVersion = regvar.cap( regvar.numCaptures() );