1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-09 15:47:38 +02:00

Access protected member directly instead of using virtual function

This commit is contained in:
Uwe L. Korn
2014-10-20 16:52:07 +02:00
parent 71c91ba04b
commit 3db2db5dd2

View File

@@ -1067,7 +1067,7 @@ bool
XmppSipPlugin::readXmlConsoleEnabled()
{
// HACK we want to allow xmlconsole to be set manually in the onfig file, which means we can't hide it in a QVariantHash
const bool xmlConsole = TomahawkSettings::instance()->value( QString( "accounts/%1/xmlconsole" ).arg( account()->accountId() ), false ).toBool();
const bool xmlConsole = TomahawkSettings::instance()->value( QString( "accounts/%1/xmlconsole" ).arg( m_account->accountId() ), false ).toBool();
return xmlConsole;
}