mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-05-02 14:46:07 -04:00
Merge pull request #233 from louib/fix/downloadIconCrash
Fixes #225 : downloading favicon crash
This commit is contained in:
commit
7e4592c1e7
1 changed files with 4 additions and 0 deletions
|
@ -190,6 +190,10 @@ void EditWidgetIcons::abortFaviconDownload(bool clearRedirect)
|
|||
|
||||
void EditWidgetIcons::onRequestFinished(QNetworkReply *reply)
|
||||
{
|
||||
if (m_database == nullptr) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!reply->error()) {
|
||||
QImage image;
|
||||
image.loadFromData(reply->readAll());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue