[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdenetwork/kopete/kopete/chatwindow
From: Laurent Montel <montel () kde ! org>
Date: 2006-11-03 14:12:23
Message-ID: 1162563143.703396.12746.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 601513 by mlaurent:
Fix inform when we add new style.
Otherwise when "Style" directory is not created (you didn't add new style \
before) we don't test this directory and when we add new style it doesn't \
add to interface
=> we don't know that new style added.
=> before it was necessary to close kopete and restart kopete
M +4 -0 kopetechatwindowstylemanager.cpp
--- branches/KDE/3.5/kdenetwork/kopete/kopete/chatwindow/kopetechatwindowstylemanager.cpp \
#601512:601513 @@ -97,6 +97,10 @@
void ChatWindowStyleManager::loadStyles()
{
QStringList chatStyles = KGlobal::dirs()->findDirs( "appdata", \
QString::fromUtf8( "styles" ) ); + QString localStyleDir( \
locateLocal( "appdata", QString::fromUtf8("styles/"),true) ); + if( \
!chatStyles.contains(localStyleDir)) + \
chatStyles<<localStyleDir; +
QStringList::const_iterator it;
for(it = chatStyles.constBegin(); it != chatStyles.constEnd(); ++it)
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic