Core: Remove parent pointer from IOptionPage constructor

Not used anymore.

Change-Id: Ic44ce021b1f952337a3193454b5b6649d5847446
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2023-05-08 14:09:09 +02:00
parent bd660aaf27
commit 851f317199
3 changed files with 4 additions and 5 deletions

View File

@@ -240,8 +240,7 @@ static QList<IOptionsPage *> g_optionsPages;
Constructs an options page with the given \a parent and registers it
at the global options page pool if \a registerGlobally is \c true.
*/
IOptionsPage::IOptionsPage(QObject *parent, bool registerGlobally)
: QObject(parent)
IOptionsPage::IOptionsPage(bool registerGlobally)
{
if (registerGlobally)
g_optionsPages.append(this);