Ticket #11244: 0001-A-popup-is-now-shown-if-no-optical-media-could-be-fo.patch

File 0001-A-popup-is-now-shown-if-no-optical-media-could-be-fo.patch, 900 bytes (added by peper03@…, 11 years ago)
  • mythtv/programs/mythfrontend/main.cpp

    From 704774aa208a7d7182a670bceb719e5620fb3b3e Mon Sep 17 00:00:00 2001
    From: Richard <peper03@yahoo.com>
    Date: Fri, 16 Nov 2012 22:58:41 +0100
    Subject: [PATCH] A popup is now shown if no optical media could be found when
     the user select 'Play DVD or Blu-ray' from the Video menu.
    
    ---
     mythtv/programs/mythfrontend/main.cpp |    3 +++
     1 file changed, 3 insertions(+)
    
    diff --git a/mythtv/programs/mythfrontend/main.cpp b/mythtv/programs/mythfrontend/main.cpp
    index d923a28..a6540df 100644
    a b static int internal_play_media(const QString &mrl, const QString &plot, 
    11371137        }
    11381138        else
    11391139        {
     1140            QString msg = QObject::tr("No disc found in drive!");
     1141            ShowOkPopup(msg);
     1142
    11401143            if (dvd)
    11411144                delete dvd;
    11421145            delete pginfo;