mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-26 18:14:22 +00:00
GH-2252 make URL drop signal use a queued connection instead of direct call
Hopefully this will fix the issues with stuck applications on Windows.
This commit is contained in:
parent
72ff342d63
commit
584f1e89b9
@ -666,7 +666,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new MainWindow
|
||||
view->installEventFilter(this);
|
||||
view->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
connect(view, &QWidget::customContextMenuRequested, this, &MainWindow::showInstanceContextMenu);
|
||||
connect(view, &GroupView::droppedURLs, this, &MainWindow::droppedURLs);
|
||||
connect(view, &GroupView::droppedURLs, this, &MainWindow::droppedURLs, Qt::QueuedConnection);
|
||||
|
||||
proxymodel = new InstanceProxyModel(this);
|
||||
proxymodel->setSourceModel(MMC->instances().get());
|
||||
|
Loading…
Reference in New Issue
Block a user