GH-1882 save UpdateDialog geometry

This commit is contained in:
Petr Mrázek committed 2017-05-09 01:54:28 +02:00
1 parent 0f311e12ee
commit 8fe18cfabc
4 files changed
+15 -4

No files matched your search

+2 -2
View File
@@ -913,7 +913,7 @@ void MainWindow::updateAvailable(GoUpdate::Status status)
updateNotAvailable();
return;
}
UpdateDialog dlg;
UpdateDialog dlg(true, this);
UpdateAction action = (UpdateAction)dlg.exec();
switch (action)
{
@@ -928,7 +928,7 @@ void MainWindow::updateAvailable(GoUpdate::Status status)
void MainWindow::updateNotAvailable()
{
UpdateDialog dlg(false);
UpdateDialog dlg(false, this);
dlg.exec();
}