1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

Silence one cppcheck warning

This commit is contained in:
David Rosca 2014-11-29 11:12:41 +01:00
parent 7ff53e645a
commit b4fc38d5ef
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ int ExternalJsObject::IsSearchProviderInstalled(const QString &engineURL)
return 0;
}
QObject* ExternalJsObject::speedDial()
QObject* ExternalJsObject::speedDial() const
{
return m_onSpeedDial ? mApp->plugins()->speedDial() : 0;
}

View File

@ -32,7 +32,7 @@ public slots:
void AddSearchProvider(const QString &engineUrl);
int IsSearchProviderInstalled(const QString &engineURL);
QObject* speedDial();
QObject* speedDial() const;
public:
void setOnSpeedDial(bool on);