diff --git a/core/remote/serverproxymodel.h b/core/remote/serverproxymodel.h index 3b6b59c14..b1b31e008 100644 --- a/core/remote/serverproxymodel.h +++ b/core/remote/serverproxymodel.h @@ -23,9 +23,13 @@ namespace GammaRay { -template void init(BaseProxy *) {} +template +void init(BaseProxy *) +{ +} -template<> inline void init(QSortFilterProxyModel *proxy) +template<> +inline void init(QSortFilterProxyModel *proxy) { proxy->setRecursiveFilteringEnabled(true); #if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)