aboutsummaryrefslogtreecommitdiff
path: root/lib/decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/decoder.h')
-rw-r--r--lib/decoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/decoder.h b/lib/decoder.h
index 0aa1f7a5d..de1e2d00a 100644
--- a/lib/decoder.h
+++ b/lib/decoder.h
@@ -40,7 +40,7 @@ public:
m_type = st.type();
if (m_type == Info)
m_tag = new FileTag(*st.tag());
- if (m_type == Error)
+ else if (m_type == Error)
m_error_msg = new QString(*st.errorMessage());
}