refactoring for Settings

This commit is contained in:
Ronan 2021-05-22 09:25:39 +02:00
parent b49087295e
commit fb2a7f8714

View File

@ -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);