mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
Fix torrent loading on Mac OS X (closes #1011229)
This commit is contained in:
parent
ccefe68e4c
commit
80359f3e5e
4 changed files with 25 additions and 2 deletions
|
@ -307,6 +307,9 @@ int main(int argc, char *argv[]) {
|
|||
QObject::connect(&app, SIGNAL(messageReceived(const QString&)),
|
||||
&window, SLOT(processParams(const QString&)));
|
||||
app.setActivationWindow(&window);
|
||||
#ifdef Q_WS_MAC
|
||||
static_cast<QMacApplication*>(&app)->setReadyToProcessEvents();
|
||||
#endif // Q_WS_MAC
|
||||
#else
|
||||
// Load Headless class
|
||||
HeadlessLoader loader(torrentCmdLine);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue