From 959dcca186480712c4c892a561467fed2bdc122d Mon Sep 17 00:00:00 2001 From: Leonardo Zide Date: Fri, 19 Jan 2018 11:41:26 -0800 Subject: [PATCH] Fixed Windows compiler error. --- qt/lc_setsdatabasedialog.cpp | 2 ++ qt/lc_setsdatabasedialog.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/qt/lc_setsdatabasedialog.cpp b/qt/lc_setsdatabasedialog.cpp index cac28a70..7de64f7f 100644 --- a/qt/lc_setsdatabasedialog.cpp +++ b/qt/lc_setsdatabasedialog.cpp @@ -221,10 +221,12 @@ void lcSetsDatabaseDialog::on_SearchButton_clicked() } } +#ifndef Q_OS_WIN void lcSetsDatabaseDialog::DownloadFinished(QNetworkReply* Reply) { ProcessReply(Reply); } +#endif void lcSetsDatabaseDialog::ProcessReply(lcHttpReply* Reply) { diff --git a/qt/lc_setsdatabasedialog.h b/qt/lc_setsdatabasedialog.h index f09eaaa9..726fb47f 100644 --- a/qt/lc_setsdatabasedialog.h +++ b/qt/lc_setsdatabasedialog.h @@ -68,7 +68,9 @@ public: virtual bool eventFilter(QObject* Object, QEvent* Event) override; public slots: +#ifndef Q_OS_WIN void DownloadFinished(QNetworkReply* Reply); +#endif void on_SearchButton_clicked(); void accept() override; void Finished(int Result);