mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-14 10:19:26 -04:00
- Removed all usages of the old windows icon (rstray3.png) and used the standard icon of the application
- Added possibility to change the icon of the GxsGroupDialog git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7471 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
6792348402
commit
d20ce41c96
37 changed files with 82 additions and 175 deletions
retroshare-gui/src/gui
|
@ -1045,9 +1045,11 @@ void SetForegroundWindowInternal(HWND hWnd)
|
|||
return _instance->linksDialog;
|
||||
#endif
|
||||
case Channels:
|
||||
return _instance->gxschannelDialog;
|
||||
return _instance->gxschannelDialog;
|
||||
case Forums:
|
||||
return _instance->gxsforumDialog;
|
||||
return _instance->gxsforumDialog;
|
||||
case Posted:
|
||||
return _instance->postedDialog;
|
||||
#ifdef BLOGS
|
||||
case Blogs:
|
||||
return _instance->blogsFeed;
|
||||
|
@ -1452,7 +1454,6 @@ void MainWindow::externalLinkActivated(const QUrl &url)
|
|||
if(!already_warned)
|
||||
{
|
||||
QMessageBox mb(QObject::tr("Confirmation"), QObject::tr("Do you want this link to be handled by your system?")+"<br/><br/>"+ url.toString()+"<br/><br/>"+tr("Make sure this link has not been forged to drag you to a malicious website."), QMessageBox::Question, QMessageBox::Yes,QMessageBox::No, 0);
|
||||
mb.setWindowIcon(QIcon(QString::fromUtf8(":/images/rstray3.png")));
|
||||
|
||||
QCheckBox *checkbox = new QCheckBox(tr("Don't ask me again")) ;
|
||||
mb.layout()->addWidget(checkbox) ;
|
||||
|
@ -1475,13 +1476,11 @@ void MainWindow::retroshareLinkActivated(const QUrl &url)
|
|||
// QUrl can't handle the old RetroShare link format properly
|
||||
if (url.host().isEmpty()) {
|
||||
QMessageBox mb("RetroShare", tr("It seems to be an old RetroShare link. Please use copy instead."), QMessageBox::Critical, QMessageBox::Ok, 0, 0);
|
||||
mb.setWindowIcon(QIcon(":/images/rstray3.png"));
|
||||
mb.exec();
|
||||
return;
|
||||
}
|
||||
|
||||
QMessageBox mb("RetroShare", tr("The file link is malformed."), QMessageBox::Critical, QMessageBox::Ok, 0, 0);
|
||||
mb.setWindowIcon(QIcon(":/images/rstray3.png"));
|
||||
mb.exec();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue