1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Fix linux compilation.

This commit is contained in:
sledgehammer999 2013-11-23 15:24:27 +02:00
parent b0e8c1139f
commit 4a84b6a911

View File

@ -98,7 +98,11 @@ using namespace libtorrent;
*****************************************************/
// Constructor
MainWindow::MainWindow(QWidget *parent, const QStringList& torrentCmdLine) : QMainWindow(parent), m_posInitialized(false), force_exit(false), checkingProgramUpdate(false) {
MainWindow::MainWindow(QWidget *parent, const QStringList& torrentCmdLine) : QMainWindow(parent), m_posInitialized(false), force_exit(false)
#if defined(Q_WS_WIN) || defined(Q_WS_MAC)
,checkingProgramUpdate(false)
#endif
{
setupUi(this);
Preferences pref;