Fix typo in Custom sound file selector
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user