Skip to content

Commit

Permalink
Avoid warning about missing emit when emitting aboutToClose()
Browse files Browse the repository at this point in the history
  • Loading branch information
Martchus committed Jun 19, 2024
1 parent dcba030 commit ce92ccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syncthingconnector/syncthingprocess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ qint64 SyncthingProcess::bytesAvailable() const
void SyncthingProcess::close()
{
#ifdef LIB_SYNCTHING_CONNECTOR_BOOST_PROCESS
aboutToClose();
emit aboutToClose();
if (m_process) {
const auto lock = std::lock_guard<std::mutex>(m_process->mutex);
m_process->pipe.async_close();
Expand Down

0 comments on commit ce92ccf

Please sign in to comment.