From fb2a7f8714da32d9cb317006cada21c0007c8ac6 Mon Sep 17 00:00:00 2001 From: Ronan Date: Sat, 22 May 2021 09:25:39 +0200 Subject: [PATCH] refactoring for Settings --- src/app/puzzle/vpmainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/puzzle/vpmainwindow.cpp b/src/app/puzzle/vpmainwindow.cpp index 553764c0f..51b23b004 100644 --- a/src/app/puzzle/vpmainwindow.cpp +++ b/src/app/puzzle/vpmainwindow.cpp @@ -99,7 +99,7 @@ VPMainWindow::VPMainWindow(const VPCommandLinePtr &cmd, QWidget *parent) : m_tileFactory->refreshTileInfos(); // init the export tool - m_exporter = new VPExporter(m_layout, qApp->Settings()); + m_exporter = new VPExporter(m_layout, VPApplication::VApp()->Settings()); // init status bar statusBar()->addPermanentWidget(m_statusLabel, 1);