diff --git a/src/openstudio_lib/ApplyMeasureNowDialog.cpp b/src/openstudio_lib/ApplyMeasureNowDialog.cpp index e02f8217d..409db50e9 100644 --- a/src/openstudio_lib/ApplyMeasureNowDialog.cpp +++ b/src/openstudio_lib/ApplyMeasureNowDialog.cpp @@ -103,7 +103,7 @@ ApplyMeasureNowDialog::ApplyMeasureNowDialog(QWidget* parent) createWidgets(); OSAppBase* app = OSAppBase::instance(); - connect(this, &ApplyMeasureNowDialog::reloadFile, static_cast(app), &OpenStudioApp::reloadFile, Qt::QueuedConnection); + connect(this, &ApplyMeasureNowDialog::reloadFile, app, &OSAppBase::reloadFile, Qt::QueuedConnection); m_advancedOutputDialog = new TextEditDialog("Advanced Output"); diff --git a/src/shared_gui_components/MeasureManager.cpp b/src/shared_gui_components/MeasureManager.cpp index a99e0642d..092b3fe09 100644 --- a/src/shared_gui_components/MeasureManager.cpp +++ b/src/shared_gui_components/MeasureManager.cpp @@ -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; diff --git a/src/shared_gui_components/MeasureManager.hpp b/src/shared_gui_components/MeasureManager.hpp index 3f23e38d0..2e7f2d8a3 100644 --- a/src/shared_gui_components/MeasureManager.hpp +++ b/src/shared_gui_components/MeasureManager.hpp @@ -211,7 +211,6 @@ class MeasureManager : public QObject std::map> m_measureArguments; QUrl m_url; QSharedPointer m_libraryController; - QNetworkAccessManager* m_networkAccessManager; bool m_started; QMutex m_mutex; }; diff --git a/translations/CMakeLists.txt b/translations/CMakeLists.txt index d99927157..9cf153605 100644 --- a/translations/CMakeLists.txt +++ b/translations/CMakeLists.txt @@ -43,8 +43,8 @@ endforeach() list(REMOVE_DUPLICATES TS_SOURCE_DIRS) list(REMOVE_DUPLICATES TS_SOURCES) -message("TS_SOURCE_DIRS=${TS_SOURCE_DIRS}") -message("TS_SOURCES=${TS_SOURCES}") +message(VERBOSE "TS_SOURCE_DIRS=${TS_SOURCE_DIRS}") +message(VERBOSE "TS_SOURCES=${TS_SOURCES}") qt6_add_translations(translations_interface TS_FILES ${TS_FILES} QM_FILES_OUTPUT_VARIABLE QM_FILES INCLUDE_DIRECTORIES