Commit 6d079140 authored by JanKusanagi's avatar JanKusanagi

Fix regression; inverted condition

parent e2f9670d
......@@ -1662,10 +1662,9 @@ void Post::setPostDeleted(QString postDeletedTime)
return;
}
/// FIXME, this needs some work
if (m_postOriginalText.isEmpty())
if (!m_postOriginalText.isEmpty())
{
m_postOriginalText.prepend("<hr>"); // --------
m_postOriginalText.prepend("<hr />"); // --------
}
m_postOriginalText.prepend("<center>" + postDeletedTime + "</center>");
qDebug() << "This post was deleted on" << postDeletedTime;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment