Permalink
Browse files

MythArchive: Remove the Cancel options from the menus

This follows similar changes to the menus in other parts of Myth.
  • Loading branch information...
1 parent 366d96d commit f834940b3fba44f7c97247aeaec6ad59d6c9cef4 Paul Harrison committed Mar 4, 2012
@@ -398,7 +398,6 @@ void ExportNative::showMenu()
menuPopup->SetReturnEvent(this, "action");
menuPopup->AddButton(tr("Remove Item"), SLOT(removeItem()));
- menuPopup->AddButton(tr("Cancel"), NULL);
}
void ExportNative::removeItem()
@@ -316,5 +316,4 @@ void LogViewer::showMenu()
menuPopup->AddButton(tr("Show Progress Log"), SLOT(showProgressLog()));
menuPopup->AddButton(tr("Show Full Log"), SLOT(showFullLog()));
- menuPopup->AddButton(tr("Cancel"), NULL);
}
@@ -827,7 +827,6 @@ void MythBurn::showMenu()
menuPopup->AddButton(tr("Edit Details"), SLOT(editDetails()));
menuPopup->AddButton(tr("Change Encoding Profile"), SLOT(changeProfile()));
menuPopup->AddButton(tr("Edit Thumbnails"), SLOT(editThumbnails()));
- menuPopup->AddButton(tr("Cancel"), NULL);
}
void MythBurn::removeItem()
@@ -1174,7 +1173,6 @@ void BurnMenu::start(void)
menuPopup->AddButton(QObject::tr("Burn DVD"));
menuPopup->AddButton(QObject::tr("Burn DVD Rewritable"));
menuPopup->AddButton(QObject::tr("Burn DVD Rewritable (Force Erase)"));
- menuPopup->AddButton(QObject::tr("Cancel"));
}
void BurnMenu::customEvent(QEvent *event)
@@ -213,7 +213,6 @@ void RecordingSelector::showMenu()
menuPopup->AddButton(tr("Clear All"), SLOT(clearAll()));
menuPopup->AddButton(tr("Select All"), SLOT(selectAll()));
- menuPopup->AddButton(tr("Cancel"), NULL);
}
void RecordingSelector::selectAll()
@@ -938,7 +938,6 @@ void ThumbFinder::showMenu()
menuPopup->AddButton(tr("Exit, Save Thumbnails"), SLOT(savePressed()));
menuPopup->AddButton(tr("Exit, Don't Save Thumbnails"), SLOT(cancelPressed()));
- menuPopup->AddButton(tr("Cancel"), NULL);
}
void ThumbFinder::updatePositionBar(int64_t frame)
@@ -157,7 +157,6 @@ void VideoSelector::showMenu()
menuPopup->AddButton(tr("Clear All"), SLOT(clearAll()));
menuPopup->AddButton(tr("Select All"), SLOT(selectAll()));
- menuPopup->AddButton(tr("Cancel"), NULL);
}
void VideoSelector::selectAll()

0 comments on commit f834940

Please sign in to comment.