summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/private/kopeteemoticons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete/private/kopeteemoticons.cpp')
-rw-r--r--kopete/libkopete/private/kopeteemoticons.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/kopete/libkopete/private/kopeteemoticons.cpp b/kopete/libkopete/private/kopeteemoticons.cpp
index 87da4cf7..0b234deb 100644
--- a/kopete/libkopete/private/kopeteemoticons.cpp
+++ b/kopete/libkopete/private/kopeteemoticons.cpp
@@ -549,6 +549,13 @@ QString Emoticons::parse( const QString &message, ParseMode mode )
return result;
}
+void Emoticons::reload()
+{
+ d->emoticonAndPicList.clear();
+ d->emoticonMap.clear();
+ initEmoticons( KopetePrefs::prefs()->iconTheme() );
+}
+
} //END namesapce Kopete
#include "kopeteemoticons.moc"