Merge pull request #3858 from Chocobo1/screen_center

Fix dialogs didn't position on the correct screen
This commit is contained in:
sledgehammer999
2017-05-07 22:17:55 +03:00
committed by GitHub
41 changed files with 139 additions and 360 deletions

View File

@@ -366,7 +366,7 @@ void Application::allTorrentsFinished()
// do nothing & skip confirm
}
else {
if (!ShutdownConfirmDlg::askForConfirmation(action)) return;
if (!ShutdownConfirmDlg::askForConfirmation(m_window, action)) return;
}
#endif // DISABLE_GUI
@@ -409,7 +409,7 @@ void Application::processParams(const QStringList &params)
param = param.trimmed();
// Process strings indicating options specified by the user.
if (param.startsWith(QLatin1String("@savePath="))) {
torrentParams.savePath = param.mid(10);
continue;