Qt: Implement Batch flag (-b)

This commit is contained in:
spycrab
2018-04-29 19:13:40 +02:00
parent 1c9b64ff02
commit 2a837a82d4
4 changed files with 14 additions and 1 deletions

View File

@ -416,3 +416,12 @@ bool Settings::AreWidgetsLocked() const
{
return GetQSettings().value(QStringLiteral("widgets/locked"), true).toBool();
}
bool Settings::IsBatchModeEnabled() const
{
return m_batch;
}
void Settings::SetBatchModeEnabled(bool batch)
{
m_batch = batch;
}