Skip to content

Commit

Permalink
Default Output Image to false
Browse files Browse the repository at this point in the history
  • Loading branch information
niknah committed Sep 17, 2023
1 parent 126ad2c commit 02dc2e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin-customcommand/lxqtcustomcommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ void LXQtCustomCommand::settingsChanged()
mFont = settings()->value(QStringLiteral("font"), QString()).toString(); // the default font should be empty
mCommand = settings()->value(QStringLiteral("command"), QStringLiteral("echo Configure...")).toString();
mRunWithBash = settings()->value(QStringLiteral("runWithBash"), true).toBool();
mOutputImage = settings()->value(QStringLiteral("outputImage"), true).toBool();
mOutputImage = settings()->value(QStringLiteral("outputImage"), false).toBool();
mRepeat = settings()->value(QStringLiteral("repeat"), true).toBool();
mRepeatTimer = settings()->value(QStringLiteral("repeatTimer"), 5).toInt();
mRepeatTimer = qMax(1, mRepeatTimer);
Expand Down
2 changes: 1 addition & 1 deletion plugin-customcommand/lxqtcustomcommandconfiguration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void LXQtCustomCommandConfiguration::loadSettings()
ui->fontButton->setText(settings().value(QStringLiteral("font"), font().toString()).toString());
ui->commandPlainTextEdit->setPlainText(settings().value(QStringLiteral("command"), QStringLiteral("echo Configure...")).toString());
ui->runWithBashCheckBox->setChecked(settings().value(QStringLiteral("runWithBash"), true).toBool());
ui->outputImageCheckBox->setChecked(settings().value(QStringLiteral("outputImage"), true).toBool());
ui->outputImageCheckBox->setChecked(settings().value(QStringLiteral("outputImage"), false).toBool());
ui->repeatCheckBox->setChecked(settings().value(QStringLiteral("repeat"), true).toBool());
ui->repeatTimerSpinBox->setEnabled(ui->repeatCheckBox->isChecked());
ui->repeatTimerSpinBox->setValue(settings().value(QStringLiteral("repeatTimer"), 5).toInt());
Expand Down

0 comments on commit 02dc2e6

Please sign in to comment.