Skip to content
Permalink
Browse files
Remove the sourceforge menu item (as suggested in ticket #285).
git-svn-id: http://svn.osgeo.org/qgis/trunk@5888 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Sep 30, 2006
1 parent 358800d commit 4e0db539a7f02cb3b969713422c264cbca39ff18
Showing with 0 additions and 15 deletions.
  1. BIN images/themes/default/mActionQgisSourceForgePage.png
  2. +0 −12 src/gui/qgisapp.cpp
  3. +0 −3 src/gui/qgisapp.h
Binary file not shown.
@@ -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()));
@@ -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);
}
@@ -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")));
@@ -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
@@ -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
@@ -470,7 +468,6 @@ public slots:
QAction *mActionOptions;
QAction *mActionHelpContents;
QAction *mActionQgisHomePage;
QAction *mActionQgisSourceForgePage;
QAction *mActionHelpAbout;
QAction *mArawAction;
QAction *mActionStartEditing;

0 comments on commit 4e0db53

Please sign in to comment.