Skip to content

Commit

Permalink
Remove the sourceforge menu item (as suggested in ticket #285).
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5888 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Sep 30, 2006
1 parent eaebce6 commit c733461
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
Binary file removed images/themes/default/mActionQgisSourceForgePage.png
Binary file not shown.
12 changes: 0 additions & 12 deletions src/gui/qgisapp.cpp
Expand Up @@ -492,11 +492,6 @@ void QgisApp::createActions()
mActionQgisHomePage->setStatusTip(tr("QGIS Home Page"));
connect(mActionQgisHomePage, SIGNAL(triggered()), this, SLOT(helpQgisHomePage()));
//
mActionQgisSourceForgePage= new QAction(QIcon(myIconPath+"/mActionQgisSourceForgePage.png"), tr("Qgis Sourceforge"), this);
// mActionQgisSourceForgePage->setShortcut(tr("Alt+H","Visit QGIS SourceForge page"));
mActionQgisSourceForgePage->setStatusTip(tr("Visit QGIS SourceForge page"));
connect(mActionQgisSourceForgePage, SIGNAL(triggered()), this, SLOT(helpQgisSourceForge()));
//
mActionHelpAbout= new QAction(QIcon(myIconPath+"/mActionHelpAbout.png"), tr("About"), this);
mActionHelpAbout->setStatusTip(tr("About QGIS"));
connect(mActionHelpAbout, SIGNAL(triggered()), this, SLOT(about()));
Expand Down Expand Up @@ -776,7 +771,6 @@ void QgisApp::createMenus()
mHelpMenu = menuBar()->addMenu(tr("&Help"));
mHelpMenu->addAction(mActionHelpContents);
mHelpMenu->addAction(mActionQgisHomePage);
mHelpMenu->addAction(mActionQgisSourceForgePage);
mHelpMenu->addAction(mActionCheckQgisVersion);
mHelpMenu->addAction(mActionHelpAbout);
}
Expand Down Expand Up @@ -986,7 +980,6 @@ void QgisApp::setTheme(QString theThemeName)
mActionOptions->setIconSet(QIcon(QPixmap(myIconPath + "/mActionOptions.png")));
mActionHelpContents->setIconSet(QIcon(QPixmap(myIconPath + "/mActionHelpContents.png")));
mActionQgisHomePage->setIconSet(QIcon(QPixmap(myIconPath + "/mActionQgisHomePage.png")));
mActionQgisSourceForgePage->setIconSet(QIcon(QPixmap(myIconPath + "/mActionQgisSourceForgePage.png")));
mActionHelpAbout->setIconSet(QIcon(QPixmap(myIconPath + "/mActionHelpAbout.png")));
mActionDraw->setIconSet(QIcon(QPixmap(myIconPath + "/mActionDraw.png")));
mActionCapturePoint->setIconSet(QIcon(QPixmap(myIconPath + "/mActionCapturePoint.png")));
Expand Down Expand Up @@ -4118,11 +4111,6 @@ void QgisApp::helpQgisHomePage()
openURL("http://qgis.org", false);
}

void QgisApp::helpQgisSourceForge()
{
openURL("http://sourceforge.net/projects/qgis", false);
}

void QgisApp::openURL(QString url, bool useQgisDocDirectory)
{
// open help in user browser
Expand Down
3 changes: 0 additions & 3 deletions src/gui/qgisapp.h
Expand Up @@ -253,8 +253,6 @@ public slots:
void helpContents();
//! Open the QGIS homepage in users browser
void helpQgisHomePage();
//! Open the QGIS Sourceforge page in users browser
void helpQgisSourceForge();
//! Open a url in the users configured browser
void openURL(QString url, bool useQgisDocDirectory=true);
//! Check qgis version against the qgis version server
Expand Down Expand Up @@ -470,7 +468,6 @@ public slots:
QAction *mActionOptions;
QAction *mActionHelpContents;
QAction *mActionQgisHomePage;
QAction *mActionQgisSourceForgePage;
QAction *mActionHelpAbout;
QAction *mArawAction;
QAction *mActionStartEditing;
Expand Down

0 comments on commit c733461

Please sign in to comment.