Commit e514244a authored by luyikei's avatar luyikei

Fix missing QStringLiteral

parent 11bd6f67
......@@ -67,7 +67,7 @@ Timeline::Timeline( Settings* projectSettings, MainWindow* parent )
SettingValue::Folders );
connect( m_settings.get(), &Settings::postLoad, this, &Timeline::postLoad, Qt::DirectConnection );
connect( m_settings.get(), &Settings::preSave, this, &Timeline::preSave, Qt::DirectConnection );
projectSettings->addSettings( "Timeline", *m_settings );
projectSettings->addSettings( QStringLiteral( "Timeline" ), *m_settings );
}
Timeline::~Timeline()
......
......@@ -61,10 +61,10 @@ Library::Library( Settings* vlmcSettings, Settings *projectSettings )
connect( ws, &SettingValue::changed, this, &Library::workspaceChanged );
// Setting up the project section of the Library
m_settings->createVar( SettingValue::List, QString( "medias" ), QVariantList(), "", "", SettingValue::Nothing );
m_settings->createVar( SettingValue::List, QStringLiteral( "medias" ), QVariantList(), "", "", SettingValue::Nothing );
connect( m_settings.get(), &Settings::postLoad, this, &Library::postLoad, Qt::DirectConnection );
connect( m_settings.get(), &Settings::preSave, this, &Library::preSave, Qt::DirectConnection );
projectSettings->addSettings( "Library", *m_settings );
projectSettings->addSettings( QStringLiteral( "Library" ), *m_settings );
}
void
......
......@@ -79,7 +79,7 @@ MainWorkflow::MainWorkflow( Settings* projectSettings, int trackCount ) :
m_settings->createVar( SettingValue::List, "tracks", QVariantList(), "", "", SettingValue::Nothing );
connect( m_settings, &Settings::postLoad, this, &MainWorkflow::postLoad, Qt::DirectConnection );
connect( m_settings, &Settings::preSave, this, &MainWorkflow::preSave, Qt::DirectConnection );
projectSettings->addSettings( "Workspace", *m_settings );
projectSettings->addSettings( QStringLiteral( "Workspace" ), *m_settings );
connect( m_undoStack.get(), &Commands::AbstractUndoStack::cleanChanged, this, &MainWorkflow::cleanChanged );
}
......
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