diff options
Diffstat (limited to 'abs/core/mythtv/stable-0.28/mythtv/mediamonitor_use_1st_handler.patch')
-rw-r--r-- | abs/core/mythtv/stable-0.28/mythtv/mediamonitor_use_1st_handler.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/abs/core/mythtv/stable-0.28/mythtv/mediamonitor_use_1st_handler.patch b/abs/core/mythtv/stable-0.28/mythtv/mediamonitor_use_1st_handler.patch deleted file mode 100644 index 637a8c7..0000000 --- a/abs/core/mythtv/stable-0.28/mythtv/mediamonitor_use_1st_handler.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- src/mythtv/libs/libmyth/mythmediamonitor.cpp.orig 2016-04-06 21:44:16.206362097 +0000 -+++ src/mythtv/libs/libmyth/mythmediamonitor.cpp 2016-04-06 21:47:14.753580798 +0000 -@@ -664,33 +664,9 @@ - return; - } - -+ // TODO - Generate a dialog, add buttons for each description, -+ // if user didn't cancel, selected = handlers.at(choice); - int selected = 0; -- if (handlers.size() > 1) -- { -- QStringList buttonmsgs; -- for (QList<MHData>::const_iterator it = handlers.begin(); it != handlers.end(); ++it) -- buttonmsgs << ((!it->description.isEmpty()) ? it->description : it->destination); -- buttonmsgs << tr("Cancel"); -- -- const DialogCode cancelbtn = DialogCode( -- int(kDialogCodeButton0) + buttonmsgs.size() - 1); -- -- DialogCode ret = MythPopupBox::ShowButtonPopup(GetMythMainWindow(), -- tr("Media Handler Selection"), -- tr("The new media contains mixed content " -- "that can be rendered in different ways. " -- "Select your preferred method."), -- buttonmsgs, cancelbtn); -- if (kDialogCodeRejected == ret || cancelbtn == ret) -- { -- LOG(VB_MEDIA, LOG_INFO, "User cancelled media handler selection"); -- return; -- } -- -- selected = MythDialog::CalcItemIndex(ret); -- LOG(VB_MEDIA, LOG_NOTICE, QString("User selected '%1'") -- .arg(handlers.at(selected).destination) ); -- } - - handlers.at(selected).callback(pMedia); - } |