Files
extra/smplayer-legacy/remove-update-check.patch
2025-06-22 20:39:04 -05:00

65 lines
2.5 KiB
Diff

--- a/src/basegui.cpp 2020-06-01 18:01:40.000000000 +0200
+++ b/src/basegui.cpp 2025-02-19 09:13:50.708673794 +0100
@@ -892,21 +892,21 @@
// Menu Help
- showFirstStepsAct = new MyAction( this, "first_steps" );
- connect( showFirstStepsAct, SIGNAL(triggered()),
- this, SLOT(helpFirstSteps()) );
-
- showFAQAct = new MyAction( this, "faq" );
- connect( showFAQAct, SIGNAL(triggered()),
- this, SLOT(helpFAQ()) );
+ //showFirstStepsAct = new MyAction( this, "first_steps" );
+ //connect( showFirstStepsAct, SIGNAL(triggered()),
+ // this, SLOT(helpFirstSteps()) );
+
+ //showFAQAct = new MyAction( this, "faq" );
+ //connect( showFAQAct, SIGNAL(triggered()),
+ // this, SLOT(helpFAQ()) );
showCLOptionsAct = new MyAction( this, "cl_options" );
connect( showCLOptionsAct, SIGNAL(triggered()),
this, SLOT(helpCLOptions()) );
- showCheckUpdatesAct = new MyAction( this, "check_updates" );
- connect( showCheckUpdatesAct, SIGNAL(triggered()),
- this, SLOT(helpCheckUpdates()) );
+ //showCheckUpdatesAct = new MyAction( this, "check_updates" );
+ //connect( showCheckUpdatesAct, SIGNAL(triggered()),
+ // this, SLOT(helpCheckUpdates()) );
#ifdef YT_CODEDOWNLOADER
updateYTAct = new MyAction( this, "update_youtube" );
@@ -1874,10 +1874,10 @@
tabletModeAct->change(Images::icon("tablet_mode"), tr("T&ablet mode"));
// Menu Help
- showFirstStepsAct->change( Images::icon("guide"), tr("First Steps &Guide") );
- showFAQAct->change( Images::icon("faq"), tr("&FAQ") );
+ //showFirstStepsAct->change( Images::icon("guide"), tr("First Steps &Guide") );
+ //showFAQAct->change( Images::icon("faq"), tr("&FAQ") );
showCLOptionsAct->change( Images::icon("cl_help"), tr("&Command line options") );
- showCheckUpdatesAct->change( Images::icon("check_updates"), tr("Check for &updates") );
+ //showCheckUpdatesAct->change( Images::icon("check_updates"), tr("Check for &updates") );
#ifdef YT_CODEDOWNLOADER
#if defined(Q_OS_WIN) && !defined(PORTABLE_APP)
@@ -3032,12 +3032,12 @@
}
#endif
if (!pref->tablet_mode) {
- helpMenu->addAction(showFirstStepsAct);
- helpMenu->addAction(showFAQAct);
+ //helpMenu->addAction(showFirstStepsAct);
+ //helpMenu->addAction(showFAQAct);
helpMenu->addAction(showCLOptionsAct);
helpMenu->addSeparator();
}
- helpMenu->addAction(showCheckUpdatesAct);
+ //helpMenu->addAction(showCheckUpdatesAct);
#ifdef YT_CODEDOWNLOADER
helpMenu->addAction(updateYTAct);
#endif