change position of the tutorial action

preferencesAboutTextFull
Claudio Valerio 13 years ago
parent dbcebf45e5
commit 56c8f23bac
  1. 21
      src/core/UBApplication.cpp

@ -493,30 +493,29 @@ void UBApplication::decorateActionMenu(QAction* action)
menu->addAction(mainWindow->actionCut); menu->addAction(mainWindow->actionCut);
menu->addAction(mainWindow->actionCopy); menu->addAction(mainWindow->actionCopy);
menu->addAction(mainWindow->actionPaste); menu->addAction(mainWindow->actionPaste);
menu->addSeparator();
menu->addAction(mainWindow->actionPreferences);
menu->addAction(mainWindow->actionHideApplication); menu->addAction(mainWindow->actionHideApplication);
menu->addAction(mainWindow->actionSleep); menu->addAction(mainWindow->actionSleep);
menu->addSeparator(); menu->addSeparator();
menu->addAction(mainWindow->actionSankoreEditor); menu->addAction(mainWindow->actionPreferences);
menu->addAction(mainWindow->actionMultiScreen);
menu->addAction(mainWindow->actionImportUniboardDocuments);
// SANKORE-48: Hide the check update action if the setting // SANKORE-48: Hide the check update action if the setting
// EnableAutomaticSoftwareUpdates is false in Uniboard.config // EnableAutomaticSoftwareUpdates is false in Uniboard.config
if(UBSettings::settings()->appEnableAutomaticSoftwareUpdates->get().toBool()){ if(UBSettings::settings()->appEnableAutomaticSoftwareUpdates->get().toBool())
menu->addAction(mainWindow->actionCheckUpdate); menu->addAction(mainWindow->actionCheckUpdate);
} else
else{
mainWindow->actionCheckUpdate->setEnabled(false); mainWindow->actionCheckUpdate->setEnabled(false);
}
menu->addSeparator();
menu->addAction(mainWindow->actionTutorial);
menu->addAction(mainWindow->actionSankoreEditor);
#ifndef Q_WS_X11 // No Podcast on Linux yet #ifndef Q_WS_X11 // No Podcast on Linux yet
menu->addAction(mainWindow->actionPodcast); menu->addAction(mainWindow->actionPodcast);
mainWindow->actionPodcast->setText(tr("Podcast")); mainWindow->actionPodcast->setText(tr("Podcast"));
#endif #endif
menu->addAction(mainWindow->actionMultiScreen);
menu->addAction(mainWindow->actionImportUniboardDocuments);
menu->addSeparator(); menu->addSeparator();
menu->addAction(mainWindow->actionQuit); menu->addAction(mainWindow->actionQuit);

Loading…
Cancel
Save