1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Add tooltip for emoticons, fix #597

This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-11-02 12:58:18 +01:00
parent a908e036ce
commit e17672acd8
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -183,7 +183,7 @@ QList<QStringList> SmileyPack::getEmoticons() const
QString SmileyPack::getAsRichText(const QString &key) QString SmileyPack::getAsRichText(const QString &key)
{ {
return "<img src=\"data:image/png;base64," % QString(getCachedSmiley(key).toBase64()) % "\">"; return "<img title=\""%key%"\" src=\"data:image/png;base64," % QString(getCachedSmiley(key).toBase64()) % "\">";
} }
QIcon SmileyPack::getAsIcon(const QString &key) QIcon SmileyPack::getAsIcon(const QString &key)