Skip to content

Commit

Permalink
Fix #528 - the m_networkAccessManager is actually not used anywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrec committed May 6, 2022
1 parent a8337ee commit 1e565a3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions src/shared_gui_components/MeasureManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@

namespace openstudio {

MeasureManager::MeasureManager(BaseApp* t_app) : m_app(t_app), m_started(false), m_mutex() {
m_networkAccessManager = new QNetworkAccessManager(this);
}
MeasureManager::MeasureManager(BaseApp* t_app) : m_app(t_app), m_started(false) {}

QUrl MeasureManager::url() const {
return m_url;
Expand Down
1 change: 0 additions & 1 deletion src/shared_gui_components/MeasureManager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ class MeasureManager : public QObject
std::map<openstudio::path, std::vector<measure::OSArgument>> m_measureArguments;
QUrl m_url;
QSharedPointer<LocalLibraryController> m_libraryController;
QNetworkAccessManager* m_networkAccessManager;
bool m_started;
QMutex m_mutex;
};
Expand Down

0 comments on commit 1e565a3

Please sign in to comment.