SVN commit 601500 by mlaurent: Now we can remove style M +4 -2 kopetechatwindowstylemanager.cpp --- branches/KDE/3.5/kdenetwork/kopete/kopete/chatwindow/kopetechatwindowstylemanager.cpp #601499:601500 @@ -283,7 +283,9 @@ bool ChatWindowStyleManager::removeStyle(const QString &stylePath) { // Find for the current style in avaiableStyles map. - StyleList::Iterator foundStyle = d->availableStyles.find(stylePath); + KURL urlStyle(stylePath); + QString styleName=urlStyle.fileName(); + StyleList::Iterator foundStyle = d->availableStyles.find(styleName); // QMap iterator return end() if it found no item. if(foundStyle != d->availableStyles.end()) { @@ -298,7 +300,7 @@ } // Do the actual deletion of the directory style. - return KIO::NetAccess::del( KURL(stylePath), 0 ); + return KIO::NetAccess::del( urlStyle, 0 ); } else {