setWindowIcon for a QMessageBox in ShareManager

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2433 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-02-26 13:32:55 +00:00
parent 15a28b1d2e
commit af2705893d

View File

@ -246,6 +246,7 @@ bool ShareManager::messageBoxOk(QString msg)
{ {
QMessageBox mb("Share Manager InfoBox!",msg,QMessageBox::Information,QMessageBox::Ok,0,0); QMessageBox mb("Share Manager InfoBox!",msg,QMessageBox::Information,QMessageBox::Ok,0,0);
mb.setButtonText( QMessageBox::Ok, "OK" ); mb.setButtonText( QMessageBox::Ok, "OK" );
mb.setWindowIcon(QIcon(QString::fromUtf8(":/images/rstray3.png")));
mb.exec(); mb.exec();
return true; return true;
} }