Commit e29544d1 authored by Shubham  .'s avatar Shubham .
Browse files

Add help files for Octave, now Octave shows its documentation

parent 50fd1d4d
add_subdirectory(Maxima) add_subdirectory(Maxima)
add_subdirectory(Octave)
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/documentation PATTERN "CMakeLists.txt" EXCLUDE)
...@@ -360,7 +360,7 @@ CantorPart::CantorPart( QWidget *parentWidget, QObject *parent, const QVariantLi ...@@ -360,7 +360,7 @@ CantorPart::CantorPart( QWidget *parentWidget, QObject *parent, const QVariantLi
connect(m_showBackendHelp, &QAction::triggered, this, &CantorPart::showBackendHelp); connect(m_showBackendHelp, &QAction::triggered, this, &CantorPart::showBackendHelp);
// Do not display "Show Backend Help" action for Maxima, since we are showing it's integrated documentation // Do not display "Show Backend Help" action for Maxima, since we are showing it's integrated documentation
if(backend->name() == QLatin1String("Maxima")) if(backend->name() == QLatin1String("Maxima") || backend->name() == QLatin1String("Octave"))
m_showBackendHelp->setVisible(false); m_showBackendHelp->setVisible(false);
// Disabled, because uploading to kde store from program don't work // Disabled, because uploading to kde store from program don't work
......
...@@ -51,6 +51,7 @@ DocumentationPanelWidget::DocumentationPanelWidget(Cantor::Session* session, QWi ...@@ -51,6 +51,7 @@ DocumentationPanelWidget::DocumentationPanelWidget(Cantor::Session* session, QWi
if(!m_engine->setupData()) if(!m_engine->setupData())
{ {
qWarning() << "Couldn't setup QtHelp Engine"; qWarning() << "Couldn't setup QtHelp Engine";
qWarning() << m_engine->error();
delete m_engine; delete m_engine;
delete m_textBrowser; delete m_textBrowser;
delete m_tabWidget; delete m_tabWidget;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment