aboutsummaryrefslogtreecommitdiff
path: root/player.cpp
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2021-02-01 00:50:48 -0500
committerAndrew Lee <alee14498@protonmail.com>2021-02-01 00:50:48 -0500
commitf22b64f2670ac45ac4c9b7c0c760bf5752086ede (patch)
treea22e04cc1116cd77a9e6c5faeddc4701e0d3562a /player.cpp
parent1cbb7aa6e651b49e92ef7aaa188e6698ff14635c (diff)
downloaderable-godot-aap.tar.gz
erable-godot-aap.tar.bz2
erable-godot-aap.zip
final commit for qtaap
Diffstat (limited to 'player.cpp')
-rw-r--r--player.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/player.cpp b/player.cpp
index 4991824..0c18979 100644
--- a/player.cpp
+++ b/player.cpp
@@ -24,7 +24,7 @@ void Player::loadFile()
{
QMessageBox msgbox;
- mFile = QFileDialog::getOpenFileName(this, tr("Open any audio file"), QDir::homePath(), tr("Audio Files (*.mp3 *.wav *.ogg *.flac)"));
+ mFile = QFileDialog::getOpenFileName(this, tr("Open any audio file"), QDir::homePath(), tr("Audio Files (*.mp3 *.wav *.ogg *.flac *.wma)"));
if (mFile == NULL) {
qDebug() << tr("File cannot be found");
msgbox.setWindowTitle(tr("Uh oh! An error has occured!"));
@@ -148,3 +148,8 @@ void Player::on_durationChanged(qint64 position)
{
ui->playbackSlider->setMaximum(position);
}
+
+void Player::on_actionBugReport_triggered()
+{
+ QDesktopServices::openUrl(QUrl("https://github.com/aleeproductions/Alee-Audio-Player/issues", QUrl::TolerantMode));
+}