Show dialog to ask when closing when more than tab open

Authored by aacid on Sep 12 2017, 8:32 PM.

Description

Show dialog to ask when closing when more than tab open

Summary:
The checkbox is checked and says "Warn me on closing more than one tab",
for that reason we can't use the default KMessageBox::questionYesNo since
there the checkbox is always not checked and it's when checked that you enable it

Inspired by code from torham zed torhamzed@yahoo.com at review request 126406

Reviewers: Okular, KDE Applications

Subscribers: alexeymin, ngraham, colomar, rkflx, Okular

Tags: Okular

Differential Revision: https://phabricator.kde.org/D7714

Details

Committed
aacidSep 17 2017, 9:50 PM
Differential Revision
D7714: Show dialog to ask when closing when more than tab open
Parents
R223:a57ffdbd959c: added the "remove this bookmark" to bookmarks section
Branches
Unknown
Tags
Unknown