Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Revert "Change text of `Close' Button to `OK'"

Luna Lovecraft57505c8936dd
diff --git a/plugins/dockers/recorder/recorder_export.cpp b/plugins/dockers/recorder/recorder_export.cpp
index 76d5847569..534dd18185 100644
--- a/plugins/dockers/recorder/recorder_export.cpp
+++ b/plugins/dockers/recorder/recorder_export.cpp
@@ -524,14 +524,10 @@ RecorderExport::RecorderExport(RecorderExportSettings *s, QWidget *parent)
connect(d->ui->buttonBrowseExport, SIGNAL(clicked()), SLOT(onButtonBrowseExportClicked()));
connect(d->ui->editVideoFilePath, SIGNAL(textChanged(QString)), SLOT(onEditVideoPathChanged(QString)));
connect(d->ui->buttonShowInFolder, SIGNAL(clicked()), SLOT(onButtonShowInFolderClicked()));
+ d->ui->editVideoFilePath->installEventFilter(this);
#endif
- if (settings->realTimeCaptureMode)
- d->ui->buttonBox->button(QDialogButtonBox::Close)->setText("OK");
d->ui->buttonBox->button(QDialogButtonBox::Save)->setText(i18n("Export"));
-#ifndef Q_OS_ANDROID
- d->ui->editVideoFilePath->installEventFilter(this);
-#endif
}
RecorderExport::~RecorderExport()