<table><tr><td style="">tcanabrava created this revision.<br />Restricted Application added a project: Konsole.<br />Restricted Application added a subscriber: konsole-devel.<br />tcanabrava requested review of this revision.
</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>REVISION SUMMARY</strong><div><p>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</p>
<p>Do not store temporary just to do a call in the next line</p>
<p>Do not add a new tav in every view</p>
<p>This is a behavior change. The new tab is only in the current view</p>
<p>Remove triplicated code</p>
<p>Don't copy the tabs, create a new session</p>
<p>Remove this-> used unecessarely</p>
<p>Use the newSession from the ViewManager</p>
<p>fourth time same code removed.</p>
<p>Remove StackedView, use TabbedBar with Hidden Tab</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>manually running konsole and testing</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R319 Konsole</div></div></div><br /><div><strong>BRANCH</strong><div><div>simplifyCode</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>AFFECTED FILES</strong><div><div>src/Application.cpp<br />
src/MainWindow.cpp<br />
src/MainWindow.h<br />
src/ViewContainer.cpp<br />
src/ViewContainer.h<br />
src/ViewManager.cpp<br />
src/ViewManager.h</div></div></div><br /><div><strong>To: </strong>tcanabrava<br /><strong>Cc: </strong>konsole-devel, herrold, ngraham, maximilianocuria, hindenburg<br /></div>