mirror of
https://github.com/leozide/leocad
synced 2024-11-16 07:47:27 +01:00
Replaced email menu item with a link to the bug report page on github.
This commit is contained in:
parent
d7cc03eb41
commit
0c9c743951
5 changed files with 10 additions and 10 deletions
|
@ -1473,11 +1473,11 @@ lcCommand gCommands[LC_NUM_COMMANDS] =
|
|||
QT_TRANSLATE_NOOP("Status", "Open LeoCAD's home page on the internet using your default web browser"),
|
||||
QT_TRANSLATE_NOOP("Shortcut", "")
|
||||
},
|
||||
// LC_HELP_EMAIL
|
||||
// LC_HELP_BUG_REPORT
|
||||
{
|
||||
QT_TRANSLATE_NOOP("Action", "Help.Email"),
|
||||
QT_TRANSLATE_NOOP("Menu", "Send Support &E-Mail"),
|
||||
QT_TRANSLATE_NOOP("Status", "Send an e-mail message for help or support using your default e-mail client"),
|
||||
QT_TRANSLATE_NOOP("Action", "Help.BugReport"),
|
||||
QT_TRANSLATE_NOOP("Menu", "Report a Bug"),
|
||||
QT_TRANSLATE_NOOP("Status", "Open LeoCAD's bug report form on your default web browser"),
|
||||
QT_TRANSLATE_NOOP("Shortcut", "")
|
||||
},
|
||||
// LC_HELP_UPDATES
|
||||
|
|
|
@ -226,7 +226,7 @@ enum lcCommandId
|
|||
LC_MODEL_24,
|
||||
LC_MODEL_LAST = LC_MODEL_24,
|
||||
LC_HELP_HOMEPAGE,
|
||||
LC_HELP_EMAIL,
|
||||
LC_HELP_BUG_REPORT,
|
||||
LC_HELP_UPDATES,
|
||||
LC_HELP_ABOUT,
|
||||
LC_TIMELINE_INSERT,
|
||||
|
|
|
@ -281,7 +281,6 @@ void lcMainWindow::CreateActions()
|
|||
mActions[LC_VIEW_TIME_LAST]->setIcon(QIcon(":/resources/time_last.png"));
|
||||
mActions[LC_VIEW_TIME_ADD_KEYS]->setIcon(QIcon(":/resources/time_add_keys.png"));
|
||||
mActions[LC_HELP_HOMEPAGE]->setIcon(QIcon(":/resources/help_homepage.png"));
|
||||
mActions[LC_HELP_EMAIL]->setIcon(QIcon(":/resources/help_email.png"));
|
||||
|
||||
mActions[LC_EDIT_TRANSFORM_RELATIVE]->setCheckable(true);
|
||||
mActions[LC_EDIT_SNAP_MOVE_TOGGLE]->setCheckable(true);
|
||||
|
@ -539,11 +538,13 @@ void lcMainWindow::CreateMenus()
|
|||
|
||||
QMenu* HelpMenu = menuBar()->addMenu(tr("&Help"));
|
||||
HelpMenu->addAction(mActions[LC_HELP_HOMEPAGE]);
|
||||
HelpMenu->addAction(mActions[LC_HELP_EMAIL]);
|
||||
HelpMenu->addAction(mActions[LC_HELP_BUG_REPORT]);
|
||||
#if !LC_DISABLE_UPDATE_CHECK
|
||||
HelpMenu->addAction(mActions[LC_HELP_UPDATES]);
|
||||
#endif
|
||||
#ifndef Q_OS_MACOS
|
||||
HelpMenu->addSeparator();
|
||||
#endif
|
||||
HelpMenu->addAction(mActions[LC_HELP_ABOUT]);
|
||||
}
|
||||
|
||||
|
@ -2842,8 +2843,8 @@ void lcMainWindow::HandleCommand(lcCommandId CommandId)
|
|||
QDesktopServices::openUrl(QUrl("http://www.leocad.org/"));
|
||||
break;
|
||||
|
||||
case LC_HELP_EMAIL:
|
||||
QDesktopServices::openUrl(QUrl("mailto:leozide@gmail.com?subject=LeoCAD"));
|
||||
case LC_HELP_BUG_REPORT:
|
||||
QDesktopServices::openUrl(QUrl("https://github.com/leozide/leocad/issues"));
|
||||
break;
|
||||
|
||||
case LC_HELP_UPDATES:
|
||||
|
|
|
@ -74,7 +74,6 @@
|
|||
<file>resources/time_previous.png</file>
|
||||
<file>resources/time_stop.png</file>
|
||||
<file>resources/leocad.png</file>
|
||||
<file>resources/help_email.png</file>
|
||||
<file>resources/help_homepage.png</file>
|
||||
<file>resources/view_zoomextents.png</file>
|
||||
<file>resources/view_split_horizontal.png</file>
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 610 B |
Loading…
Reference in a new issue