Web: PR6497 move return statement to new line

This commit is contained in:
Chris Hennes
2022-03-29 13:26:16 -05:00
parent c44ccc0ff2
commit 3ef6811dae

View File

@@ -837,11 +837,16 @@ bool BrowserView::onHasMsg(const char* pMsg) const
return view->page()->action(QWebEnginePage::Back)->isEnabled();
if (strcmp(pMsg,"Next")==0)
return view->page()->action(QWebEnginePage::Forward)->isEnabled();
if (strcmp(pMsg,"Refresh")==0) return !isLoading;
if (strcmp(pMsg,"Stop")==0) return isLoading;
if (strcmp(pMsg,"ZoomIn")==0) return true;
if (strcmp(pMsg,"ZoomOut")==0) return true;
if (strcmp(pMsg,"SetURL")==0) return true;
if (strcmp(pMsg,"Refresh")==0)
return !isLoading;
if (strcmp(pMsg,"Stop")==0)
return isLoading;
if (strcmp(pMsg,"ZoomIn")==0)
return true;
if (strcmp(pMsg,"ZoomOut")==0)
return true;
if (strcmp(pMsg,"SetURL")==0)
return true;
return false;
}