Fix typo in Custom sound file selector

This commit is contained in:
Rasmus Karlsson 2017-07-31 01:36:33 +02:00
parent 5af5c9feb6
commit 5c8d3f9eef

View file

@ -385,7 +385,7 @@ void SettingsDialog::addTabs()
auto selectBtn = new QPushButton("Select"); auto selectBtn = new QPushButton("Select");
QObject::connect(selectBtn, &QPushButton::clicked, this, [&settings, this] { QObject::connect(selectBtn, &QPushButton::clicked, this, [&settings, this] {
auto fileName = QFileDialog::getOpenFileName(this, tr("Open Sound"), "", auto fileName = QFileDialog::getOpenFileName(this, tr("Open Sound"), "",
tr("Image Files (*.mp3 *.wav)")); tr("Audio Files (*.mp3 *.wav)"));
settings.pathHighlightSound.set(fileName); settings.pathHighlightSound.set(fileName);
}); });
customSound->addWidget(selectBtn); customSound->addWidget(selectBtn);