Fixed clazy warnings: returning void expression.

This commit is contained in:
Mat Sutcliffe
2018-12-17 17:19:49 +00:00
parent e32ea65a27
commit 8979b5257e
10 changed files with 15 additions and 15 deletions

View File

@@ -786,8 +786,8 @@ namespace BlackGui
void CGuiApplication::showHelp(const QObject *qObject) const
{
if (this->isShuttingDown()) { return; }
if (!qObject || qObject->objectName().isEmpty()) { return this->showHelp(); }
return this->showHelp(qObject->objectName());
if (!qObject || qObject->objectName().isEmpty()) { this->showHelp(); }
this->showHelp(qObject->objectName());
}
bool CGuiApplication::triggerShowHelp(const QWidget *widget, QEvent *event)