[konsole] [Bug 412596] ViewSplitter is not destroyed

Nikolay Zlatev bugzilla_noreply at kde.org
Tue Oct 8 16:30:50 BST 2019


https://bugs.kde.org/show_bug.cgi?id=412596

--- Comment #5 from Nikolay Zlatev <nik at astrapaging.com> ---
"how complex is to simplify" (best sentence ever)
Most complex thing for any developer :) :) :)

pseudo code idea

void afterTerminalDetached () {
    if (this->childrenCount == 1 && this->child(0).class == "ViewSplitter") {
        auto child = this->child(0);
        this->parent().swap(this, child);
    }
}

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list