Take 1..n KMainWindows in kRestoreMainWindows

Authored by tobiasdeiminger on Oct 28 2018, 7:56 PM.

Description

Take 1..n KMainWindows in kRestoreMainWindows

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.

Reviewers: apol

Reviewed By: apol

Subscribers: kde-frameworks-devel

Tags: Frameworks

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

Details

Committed
tobiasdeimingerOct 29 2018, 8:40 PM
Reviewer
apol
Differential Revision
D16494: Take 1..n KMainWindows in kRestoreMainWindows
Parents
R263:ea7dfa26ca0c: Remove "void" as function argument
Branches
Unknown
Tags
Unknown