Added a border stylesheet for the smiley button

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3496 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-09-15 00:29:47 +00:00
parent f94d0b7600
commit 164425188d

View File

@ -181,6 +181,7 @@ void Emoticons::showSmileyWidget(QWidget *parent, QWidget *button, const char *s
smButton->setIconSize(QSize(buttonWidth, buttonHeight));
smButton->setIcon(QPixmap(i.value()));
smButton->setToolTip(i.key());
smButton->setStyleSheet("QPushButton:hover {border: 3px solid white; border-radius: 2px;}");
smButton->setFlat(true);
++x;
if(x >= countPerLine)