mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Log messages when URL for news/help is missing
Found during Ref T32
This commit is contained in:
@@ -533,7 +533,11 @@ namespace BlackGui
|
||||
{
|
||||
const CGlobalSetup gs = this->getGlobalSetup();
|
||||
const CUrl helpPage = gs.getHelpPageUrl();
|
||||
if (helpPage.isEmpty()) { return; }
|
||||
if (helpPage.isEmpty())
|
||||
{
|
||||
CLogMessage(this).warning("No help page");
|
||||
return;
|
||||
}
|
||||
QDesktopServices::openUrl(helpPage);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user