From kde-commits Tue Mar 22 13:18:52 2005 From: =?utf-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Tue, 22 Mar 2005 13:18:52 +0000 To: kde-commits Subject: kdelibs/kdecore Message-Id: <20050322131852.D31443C6 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=111149884116471 CVS commit by lunakl: Who'd believe there would be apps using spaces in WM_CLASS ... M +2 -2 kstartupinfo.cpp 1.62 --- kdelibs/kdecore/kstartupinfo.cpp #1.61:1.62 @@ -1131,5 +1131,5 @@ QString KStartupInfoData::to_text() cons .arg( d->desktop == NET::OnAllDesktops ? NET::OnAllDesktops : d->desktop - 1 ); // spec counts from 0 if( !d->wmclass.isEmpty()) - ret += QString::fromLatin1( " WMCLASS=%1" ).arg( d->wmclass ); + ret += QString::fromLatin1( " WMCLASS=\"%1\"" ).arg( d->wmclass ); if( !d->hostname.isEmpty()) ret += QString::fromLatin1( " HOSTNAME=%1" ).arg( d->hostname );