forked from qt-creator/qt-creator
Help: Fix a readability-simplify-boolean-expr
Change-Id: I06006091b0e3b1c6b38851907a9e69f1c3c2fc04 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -544,12 +544,9 @@ void LocalHelpManager::updateFilterModel()
|
||||
bool LocalHelpManager::canOpenOnlineHelp(const QUrl &url)
|
||||
{
|
||||
const QString address = url.toString();
|
||||
if (address.startsWith("qthelp://org.qt-project.")
|
||||
|| address.startsWith("qthelp://com.nokia.")
|
||||
|| address.startsWith("qthelp://com.trolltech.")) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return address.startsWith("qthelp://org.qt-project.")
|
||||
|| address.startsWith("qthelp://com.nokia.")
|
||||
|| address.startsWith("qthelp://com.trolltech.");
|
||||
}
|
||||
|
||||
bool LocalHelpManager::openOnlineHelp(const QUrl &url)
|
||||
|
Reference in New Issue
Block a user