mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
Fix addnewtorrentdialog position
Fix messageBox position
This commit is contained in:
parent
7eaa5987c8
commit
de54fa2c30
5 changed files with 24 additions and 53 deletions
|
@ -1163,8 +1163,9 @@ void MainWindow::on_actionOpen_triggered()
|
|||
// Open File Open Dialog
|
||||
// Note: it is possible to select more than one file
|
||||
const QStringList pathsList =
|
||||
QFileDialog::getOpenFileNames(0, tr("Open Torrent Files"), pref->getMainLastDir(),
|
||||
QFileDialog::getOpenFileNames(this, tr("Open Torrent Files"), pref->getMainLastDir(),
|
||||
tr("Torrent Files") + " (*.torrent)");
|
||||
|
||||
const bool useTorrentAdditionDialog = AddNewTorrentDialog::isEnabled();
|
||||
if (!pathsList.isEmpty()) {
|
||||
foreach (QString file, pathsList) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue