mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Use better fallback for styleName() when proxy style is null
This commit is contained in:
parent
a0b84a5cd3
commit
f747ce3e9d
|
@ -459,7 +459,7 @@ void MainApplication::setProxyStyle(ProxyStyle* style)
|
||||||
|
|
||||||
QString MainApplication::styleName() const
|
QString MainApplication::styleName() const
|
||||||
{
|
{
|
||||||
return m_proxyStyle ? m_proxyStyle->baseStyle()->objectName() : QString();
|
return m_proxyStyle ? m_proxyStyle->baseStyle()->objectName() : style()->objectName();
|
||||||
}
|
}
|
||||||
|
|
||||||
QString MainApplication::currentLanguageFile() const
|
QString MainApplication::currentLanguageFile() const
|
||||||
|
|
Loading…
Reference in New Issue
Block a user