Ticket #26960: patch-ApplicationWindow.diff

File patch-ApplicationWindow.diff, 1.5 KB (added by nicos_pavlov@…, 14 years ago)
  • qtiplot/src/core/ApplicationWindow.cpp

    old new  
    171171#include <QVarLengthArray>
    172172#include <QList>
    173173#include <QUrl>
    174 #include <QAssistantClient>
     174//#include <QAssistantClient>
    175175#include <QFontComboBox>
    176176#include <QSpinBox>
    177177#include <QMdiArea>
     
    352352        insertTranslatedStrings();
    353353        disableToolbars();
    354354
    355         assistant = new QAssistantClient( QString(), this );
     355        //assistant = new QAssistantClient( QString(), this );
    356356
    357357        actionNextWindow = new QAction(QIcon(":/next.png"), tr("&Next","next window"), this);
    358358        actionNextWindow->setShortcut( tr("F5","next window shortcut") );
     
    1116911169        }
    1117011170
    1117111171        QStringList cmdLst = QStringList() << "-profile" << profilePath;
    11172         QAssistantClient *assist = new QAssistantClient( QString(), 0);
    11173         assist->setArguments( cmdLst );
    11174         assist->showPage(helpPath);
    11175         connect(assist, SIGNAL(assistantClosed()), qApp, SLOT(quit()) );
     11172        //QAssistantClient *assist = new QAssistantClient( QString(), 0);
     11173        //assist->setArguments( cmdLst );
     11174        //assist->showPage(helpPath);
     11175        //connect(assist, SIGNAL(assistantClosed()), qApp, SLOT(quit()) );
    1117611176}
    1117711177
    1117811178void ApplicationWindow::showHelp()
     
    1120311203        }
    1120411204
    1120511205        QStringList cmdLst = QStringList() << "-profile" << profilePath;
    11206         assistant->setArguments( cmdLst );
    11207         assistant->showPage(helpFilePath);
     11206        //assistant->setArguments( cmdLst );
     11207        //assistant->showPage(helpFilePath);
    1120811208}
    1120911209
    1121011210void ApplicationWindow::showPlotWizard()