Take 1..n KMainWindows in kRestoreMainWindows
ClosedPublic

Authored by tobiasdeiminger on Oct 28 2018, 8:14 PM.

Details

Summary

We've got C++11 and can turn KMainWindow::kRestoreMainWindows into a variadic template to support more than 3 different toplevel widgets. Gives also minor code deduplication.

Test Plan

Compile and execute kmainwindowrestoretest.

Diff Detail

Repository
R263 KXmlGui
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
Restricted Application added a project: Frameworks. · View Herald TranscriptOct 28 2018, 8:14 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
tobiasdeiminger requested review of this revision.Oct 28 2018, 8:14 PM
apol accepted this revision.Oct 29 2018, 12:41 AM
This revision is now accepted and ready to land.Oct 29 2018, 12:41 AM
This revision was automatically updated to reflect the committed changes.