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:
parent
a908e036ce
commit
e17672acd8
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user