Merge pull request #4430

33c62c9 set shutdown title to main window title (Philip Kaufmann)
This commit is contained in:
Wladimir J. van der Laan 2014-06-27 18:53:06 +02:00
commit dfaa35d8cd
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6

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());