Ticket #30269: patch-ApplicationWindow.diff
File patch-ApplicationWindow.diff, 1.4 KB (added by nicos_pavlov@…, 13 years ago) |
---|
-
qtiplot/src/core/ApplicationWindow.cpp
old new 173 173 #include <QVarLengthArray> 174 174 #include <QList> 175 175 #include <QUrl> 176 #include <QAssistantClient>176 //#include <QAssistantClient> 177 177 #include <QFontComboBox> 178 178 #include <QSpinBox> 179 179 #include <QMdiArea> … … 347 347 insertTranslatedStrings(); 348 348 disableToolbars(); 349 349 350 assistant = new QAssistantClient( QString(), this );350 //assistant = new QAssistantClient( QString(), this ); 351 351 352 352 connect(tablesDepend, SIGNAL(activated(int)), this, SLOT(showTable(int))); 353 353 … … 11325 11325 } 11326 11326 11327 11327 QStringList cmdLst = QStringList() << "-profile" << profilePath; 11328 QAssistantClient *assist = new QAssistantClient( QString(), 0);11329 assist->setArguments( cmdLst );11330 assist->showPage(helpPath);11331 connect(assist, SIGNAL(assistantClosed()), qApp, SLOT(quit()) );11328 //QAssistantClient *assist = new QAssistantClient( QString(), 0); 11329 //assist->setArguments( cmdLst ); 11330 //assist->showPage(helpPath); 11331 //connect(assist, SIGNAL(assistantClosed()), qApp, SLOT(quit()) ); 11332 11332 } 11333 11333 11334 11334 void ApplicationWindow::showHelp() … … 11359 11359 } 11360 11360 11361 11361 QStringList cmdLst = QStringList() << "-profile" << profilePath; 11362 assistant->setArguments( cmdLst );11363 assistant->showPage(helpFilePath);11362 //assistant->setArguments( cmdLst ); 11363 //assistant->showPage(helpFilePath); 11364 11364 } 11365 11365 11366 11366 void ApplicationWindow::showPlotWizard()