Fix mixed line endings

This commit is contained in:
Zheng, Lei
2022-04-26 21:45:10 +08:00
committed by Chris Hennes
parent 2753dd4ca7
commit 3ef438eaf0
66 changed files with 344 additions and 344 deletions

View File

@@ -837,15 +837,15 @@ 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)
if (strcmp(pMsg,"Refresh")==0)
return !isLoading;
if (strcmp(pMsg,"Stop")==0)
if (strcmp(pMsg,"Stop")==0)
return isLoading;
if (strcmp(pMsg,"ZoomIn")==0)
if (strcmp(pMsg,"ZoomIn")==0)
return true;
if (strcmp(pMsg,"ZoomOut")==0)
if (strcmp(pMsg,"ZoomOut")==0)
return true;
if (strcmp(pMsg,"SetURL")==0)
if (strcmp(pMsg,"SetURL")==0)
return true;
return false;