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:
defnax 2008-03-27 01:54:23 +00:00
parent 9001ee6d24
commit c58ec7cfca

View File

@ -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()