mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 10:54:22 -05:00
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:
parent
15a28b1d2e
commit
af2705893d
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user