MCPcopy Create free account
hub / github.com/ElementsProject/elements / createWindow

Method createWindow

src/qt/bitcoin.cpp:257–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257void BitcoinApplication::createWindow(const NetworkStyle *networkStyle)
258{
259 window = new BitcoinGUI(node(), platformStyle, networkStyle, nullptr);
260 connect(window, &BitcoinGUI::quitRequested, this, &BitcoinApplication::requestShutdown);
261
262 pollShutdownTimer = new QTimer(window);
263 connect(pollShutdownTimer, &QTimer::timeout, [this]{
264 if (!QApplication::activeModalWidget()) {
265 window->detectShutdown();
266 }
267 });
268}
269
270void BitcoinApplication::createSplashScreen(const NetworkStyle *networkStyle)
271{

Callers 2

GuiMainFunction · 0.80
appTestsMethod · 0.80

Calls 1

detectShutdownMethod · 0.80

Tested by 1

appTestsMethod · 0.64