<table><tr><td style="">tcanabrava retitled this revision from "Remove unecessary forward-calls" to "Simplify code in Konsole".<br />tcanabrava edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-3yloyhvqou3rm6d/">(Show Details)</a><br />tcanabrava added a reviewer: Konsole.
</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/D12942">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Removed some calls that the only thing it did was to forward<br />
with the same arguments the call to another object, call the<br />
object directly<br />
<br />
Do not store temporary just to do a call in the next line<br />
<br />
Do not add a new tav in every view</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">This review is a collection of small improvements on Konsole's code</span><br />
<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">This is a behavior change. The new tab is only in the current view<br />
<br />
Remove triplicated code<br />
<br />
Don't copy the tabs, create a new session<br />
<br />
Remove this-> used unecessarely<br />
<br />
</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">- Removed some calls that the only thing it did was to forward with the same arguments the call to another object<br />
- Do not store temporary just to do a call in the next line<br />
- Remove duplicated code<br />
- Remove this-> used unecessarely<br />
- </span>Use the newSession from the ViewManager<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"><br />
fourth time same code removed.</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">- Remove StackedView, use TabbedBar with Hidden Tab</span><br />
<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Remove StackedView, use TabbedBar with Hidden Tab</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R319 Konsole</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12942">https://phabricator.kde.org/D12942</a></div></div><br /><div><strong>To: </strong>tcanabrava, Konsole<br /><strong>Cc: </strong>konsole-devel, herrold, ngraham, maximilianocuria, hindenburg<br /></div>