MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / favIcon

Method favIcon

Plugins/WebBrowser/FrmWebView.cpp:192–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192QIcon CFrmWebView::favIcon() const
193{
194 QIcon favIcon = icon();
195 if (!favIcon.isNull())
196 return favIcon;
197
198 if (m_loadProgress < 0) {
199 static QIcon errorIcon("dialog-error");
200 return errorIcon;
201 }
202 if (m_loadProgress < 100) {
203 static QIcon loadingIcon = QIcon::fromTheme("view-refresh");
204 return loadingIcon;
205 }
206
207 static QIcon defaultIcon("text-html");
208 return defaultIcon;
209}
210
211QWebEngineView *CFrmWebView::createWindow(QWebEnginePage::WebWindowType type)
212{

Callers 2

CreateWindowMethod · 0.80
slotAddBookmarkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected