mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
Fixed clazy warnings: returning void expression.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user