set shutdown title to main window title

- this ensures we don't show Bitcoin-Qt as that is still our
  internal application name
- fixes #4427
This commit is contained in:
Philip Kaufmann 2014-06-27 15:09:41 +02:00
parent 4684c883bb
commit 33c62c9c0b

View file

@ -117,6 +117,7 @@ void ShutdownWindow::showShutdownWindow(BitcoinGUI *window)
tr("Bitcoin Core is shutting down...") + "<br /><br />" + tr("Bitcoin Core is shutting down...") + "<br /><br />" +
tr("Do not shut down the computer until this window disappears."))); tr("Do not shut down the computer until this window disappears.")));
shutdownWindow->setLayout(layout); shutdownWindow->setLayout(layout);
shutdownWindow->setWindowTitle(window->windowTitle());
// Center shutdown window at where main window was // Center shutdown window at where main window was
const QPoint global = window->mapToGlobal(window->rect().center()); const QPoint global = window->mapToGlobal(window->rect().center());