Commit 3b6209b9 authored by Laurent Montel's avatar Laurent Montel
Browse files

Fix cancel/getpreview sound

parent 406b7674
......@@ -45,6 +45,8 @@ LoginDialog::LoginDialog(QWidget *parent) :
ui(new Ui::LoginDialog)
connect(ui->CancelButton, &QPushButton::clicked, this, &LoginDialog::slotRejected);
connect(ui->GetHQpreview, &QPushButton::clicked, this, &LoginDialog::slotGetHQPreview);
setWindowTitle(i18n("Freesound Login"));
ui->FreeSoundLoginLabel->setText(i18n("Enter your freesound account details to download the highest quality version of this file. Or use the High Quality preview file instead (no freesound account required)."));
// ui->textBrowser
......@@ -56,6 +58,18 @@ LoginDialog::~LoginDialog()
delete ui;
void LoginDialog::slotGetHQPreview()
emit UseHQPreview();
void LoginDialog::slotRejected()
emit canceled();
* @brief LoginDialog::urlChanged
* @param url \n
......@@ -84,6 +84,8 @@ signals:
private slots:
void urlChanged(const QUrl& url);
void slotGetHQPreview();
void slotRejected();
Ui::LoginDialog *ui;
QString m_strAuthCode;
Supports Markdown
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