mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
Fixed starting AboutDialog without parent.
This commit is contained in:
parent
738a0b9791
commit
6d4005cd7b
|
@ -65,7 +65,7 @@ void AboutDialog::showAbout()
|
|||
m_aboutHtml += QString("<p>© %1 %2<br/>").arg(QupZilla::COPYRIGHT, QupZilla::AUTHOR);
|
||||
m_aboutHtml += tr("<small>Build time: %1 </small></p>").arg(QupZilla::BUILDTIME);
|
||||
m_aboutHtml += QString("<p><a href=%1>%1</a></p>").arg(QupZilla::WWWADDRESS);
|
||||
m_aboutHtml += "<p>" + mApp->getWindow()->weView()->page()->userAgentForUrl(QUrl()) + "</p>";
|
||||
m_aboutHtml += "<p>" + (mApp->windowCount() > 0 ? mApp->getWindow()->weView()->page()->userAgentForUrl(QUrl()) : QString()) + "</p>";
|
||||
m_aboutHtml += "</div></center>";
|
||||
}
|
||||
ui->textBrowser->setHtml(m_aboutHtml);
|
||||
|
|
Loading…
Reference in New Issue
Block a user