Commit fc14a409 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Remove some QSettings left over

parent 841c8938
......@@ -31,7 +31,6 @@
#include <QVBoxLayout>
#include <QMessageBox>
#include <QFileInfo>
#include <QSettings>
QString* WelcomePage::m_projectPath = NULL;
......@@ -88,9 +87,7 @@ WelcomePage::nextId() const
void
WelcomePage::initializePage()
{
QSettings s;
m_ui.hideStartupCheckBox->setChecked( !s.value( "ShowWizardStartup", true ).toBool() );
m_ui.hideStartupCheckBox->setChecked( !VLMC_GET_BOOL( "private/ShowWizardStartup" ) );
m_ui.createRadioButton->setChecked( true );
loadRecentsProjects();
}
......
......@@ -34,7 +34,6 @@
#include <QDir>
#include <QMessageBox>
#include <QSettings>
#include <errno.h>
#include <signal.h>
......@@ -233,8 +232,7 @@ ProjectManager::appendToRecentProject( const QString& projectName )
while ( m_recentsProjects.count() > 15 )
m_recentsProjects.removeLast();
QSettings s;
s.setValue( "RecentsProjects", m_recentsProjects );
SettingsManager::getInstance()->setValue( "private/RecentsProjects", m_recentsProjects, SettingsManager::Vlmc );
}
QString
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment