MCPcopy Create free account
hub / github.com/OneMoreGres/ScreenTranslator / showDebugView

Method showDebugView

src/translate/translator.cpp:184–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184void Translator::showDebugView()
185{
186 if (!debugView_)
187 debugView_ = std::make_unique<QWebEngineView>();
188 debugView_->load(
189 QUrl::fromUserInput("http://localhost:" + QString::number(debugPort_)));
190 debugView_->show();
191 debugView_->activateWindow();
192}
193
194WebPage *Translator::currentPage() const
195{

Callers

nothing calls this directly

Calls 2

loadMethod · 0.80
showMethod · 0.45

Tested by

no test coverage detected