Fix torrent loading on Mac OS X (closes #1011229)

This commit is contained in:
Christophe Dumez
2012-06-24 15:03:12 +03:00
parent ccefe68e4c
commit 80359f3e5e
4 changed files with 25 additions and 2 deletions

View File

@@ -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