mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 22:25:04 -04:00
fixed SetColor
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@427 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
9001ee6d24
commit
c58ec7cfca
1 changed files with 2 additions and 0 deletions
|
@ -68,6 +68,7 @@ ChatDialog::ChatDialog(QWidget *parent)
|
|||
connect(ui.fontsButton, SIGNAL(clicked()), this, SLOT(getFont()));
|
||||
connect(ui.colorChatButton, SIGNAL(clicked()), this, SLOT(setColor()));
|
||||
#endif
|
||||
|
||||
|
||||
ui.fontsButton->setIcon(QIcon(QString(":/images/fonts.png")));
|
||||
|
||||
|
@ -326,6 +327,7 @@ void ChatDialog::setColor()
|
|||
QPixmap pxm(24,24);
|
||||
pxm.fill(textColor);
|
||||
ui.colorChatButton->setIcon(pxm);
|
||||
ui.lineEdit->setTextColor(textColor);
|
||||
}
|
||||
|
||||
void ChatDialog::getFont()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue