aboutsummaryrefslogtreecommitdiffstats
path: root/src/calendarsync.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/calendarsync.cpp')
-rw-r--r--src/calendarsync.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/calendarsync.cpp b/src/calendarsync.cpp
index 38d0c07..fa85c1c 100644
--- a/src/calendarsync.cpp
+++ b/src/calendarsync.cpp
@@ -29,6 +29,7 @@ CalendarSync::CalendarSync(const QString &command, int delayMs, QObject *parent)
[this]() { m_output += m_process.readAll(); });
connect(&m_process, &QProcess::finished, this,
[this](int code, QProcess::ExitStatus status) {
+ m_output += m_process.readAll(); // drain the last chunk, delivered with finished
emit finished(status == QProcess::NormalExit && code == 0,
QString::fromLocal8Bit(m_output));
if (m_again) {