<table><tr><td style="">aacid added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D7495" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>I shouldn't have really posted this for review, that's why i get for trying to get people to review my code ðŸ˜„</p>

<p>Yes, the early return is a bit of a problem. But the slotDoFileDirty function has been majorly unchanged for years, and if someone breaks it, well it'll break and we'll fix it.</p>

<p>And while i told you on the other review that you don't need to write a RAII class, after all it's so easy that if you feel like it, sure do it.</p>

<p>SetBoolToFalseOnScopeExit aux(&m_areWeReloading);</p>

<p>should be less than 10 lines of code.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R223 Okular</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7495" rel="noreferrer">https://phabricator.kde.org/D7495</a></div></div><br /><div><strong>To: </strong>aacid<br /><strong>Cc: </strong>rkflx, Okular, aacid<br /></div>