Opened 8 years ago

Closed 8 years ago

#5239 closed Enhancement (fixed)

Qt client should have the option to play a 'ding' when a download completes

Reported by: jordan Owned by: jordan
Priority: Normal Milestone: 2.80
Component: Qt Client Version: 2.76
Severity: Normal Keywords: feature-disparity
Cc:

Description

as the Mac and GTK+ clients do.

Change History (4)

comment:1 Changed 8 years ago by jordan

  • Status changed from new to assigned

comment:2 Changed 8 years ago by jordan

  • Resolution set to fixed
  • Status changed from assigned to closed

Implemented in r13813

comment:3 Changed 8 years ago by rb07

  • Resolution fixed deleted
  • Status changed from closed to reopened

Interested in a portable solution?

At least one for Linux (with canberra-gtk-play -- whatever that is), and a different one for everyone else:

--- qt/app.cc   (revision 13824)
+++ qt/app.cc   (working copy)
@@ -288,7 +310,11 @@
         notify (tr("Torrent Completed"), tor->name());

       if (myPrefs->getBool (Prefs::COMPLETE_SOUND_ENABLED))
+#if defined( Q_OS_WIN ) || defined( Q_OS_MAC )
+        QApplication::beep();
+#else
         QProcess::execute (myPrefs->getString(Prefs::COMPLETE_SOUND_COMMAND));
+#endif

       disconnect( tor, SIGNAL(torrentCompleted(int)), this, SLOT(onTorrentCompleted(int)) );
     }

comment:4 Changed 8 years ago by jordan

  • Resolution set to fixed
  • Status changed from reopened to closed

Thanks!

r13827

Note: See TracTickets for help on using tickets.