mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-21 05:39:11 -04:00
Fix to load the right logo without restart too
This commit is contained in:
parent
432e6970c4
commit
ad82a94cc7
2 changed files with 9 additions and 0 deletions
|
@ -382,6 +382,13 @@ void HomePage::openWebHelp()
|
|||
QDesktopServices::openUrl(QUrl(QString("https://retrosharedocs.readthedocs.io/en/latest/")));
|
||||
}
|
||||
|
||||
void HomePage::showEvent(QShowEvent *event)
|
||||
{
|
||||
if (!event->spontaneous()) {
|
||||
updateHomeLogo();
|
||||
}
|
||||
}
|
||||
|
||||
void HomePage::updateHomeLogo()
|
||||
{
|
||||
if (Settings->getSheetName() == ":Standard_Dark")
|
||||
|
|
|
@ -51,6 +51,8 @@ public:
|
|||
void getOwnCert(QString& invite,QString& description) const;
|
||||
RetroshareInviteFlags currentInviteFlags() const ;
|
||||
|
||||
virtual void showEvent(QShowEvent *) ;
|
||||
|
||||
private slots:
|
||||
#ifdef DEAD_CODE
|
||||
void certContextMenu(QPoint);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue