# HG changeset patch # User Yuya Nishihara # Date 1659684713 -32400 # Fri Aug 05 16:31:53 2022 +0900 # Node ID a7320337c8d295cfc8578ba950d52bf1d1e48b39 # Parent 576a8a6e31cba7396bd679c0649ab8034f517c04 mainwindow: remove useless default from collectSplitterChildren() diff --git a/app/mainwindow.cpp b/app/mainwindow.cpp --- a/app/mainwindow.cpp +++ b/app/mainwindow.cpp @@ -27,8 +27,7 @@ #include "statusframe.h" namespace { -template -void collectSplitterChildren(std::vector &panels, const QSplitter *splitter) +template void collectSplitterChildren(std::vector &panels, const QSplitter *splitter) { for (int i = 0; i < splitter->count(); ++i) { auto *w = splitter->widget(i);