mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fix typo in Custom sound file selector
This commit is contained in:
parent
5af5c9feb6
commit
5c8d3f9eef
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue