mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Fix torrent loading on Mac OS X (closes #1011229)
This commit is contained in:
@@ -31,12 +31,14 @@
|
||||
#define QMACAPPLICATION_H
|
||||
|
||||
#include "qtsingleapplication.h"
|
||||
#include <QStringList>
|
||||
|
||||
class QMacApplication : public QtSingleApplication
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit QMacApplication(QString appid, int &argc, char** argv);
|
||||
void setReadyToProcessEvents();
|
||||
|
||||
signals:
|
||||
void newFileOpenMacEvent(const QString &path);
|
||||
@@ -44,6 +46,9 @@ signals:
|
||||
protected:
|
||||
bool event(QEvent *);
|
||||
|
||||
private:
|
||||
bool m_readyToProcessEvents;
|
||||
QStringList m_torrentsQueue;
|
||||
};
|
||||
|
||||
#endif // QMACAPPLICATION_H
|
||||
|
||||
Reference in New Issue
Block a user