1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-16 19:31:02 +01:00

Add a clear button to the Transcode Music log dialog.

Fixes issue 3082
This commit is contained in:
David Sansome 2012-08-01 20:48:05 +01:00
parent 06f7acd96b
commit 0459cbf9f0

View File

@ -56,6 +56,9 @@ TranscodeDialog::TranscodeDialog(QWidget *parent)
ui_->files->header()->setResizeMode(QHeaderView::ResizeToContents);
log_ui_->setupUi(log_dialog_);
QPushButton* clear_button =
log_ui_->buttonBox->addButton(tr("Clear"), QDialogButtonBox::ResetRole);
connect(clear_button, SIGNAL(clicked()),log_ui_->log, SLOT(clear()));
// Get presets
QList<TranscoderPreset> presets = Transcoder::GetAllPresets();