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 171 171 #include <QVarLengthArray> 172 172 #include <QList> 173 173 #include <QUrl> 174 #include <QAssistantClient>174 //#include <QAssistantClient> 175 175 #include <QFontComboBox> 176 176 #include <QSpinBox> 177 177 #include <QMdiArea> … … 352 352 insertTranslatedStrings(); 353 353 disableToolbars(); 354 354 355 assistant = new QAssistantClient( QString(), this );355 //assistant = new QAssistantClient( QString(), this ); 356 356 357 357 actionNextWindow = new QAction(QIcon(":/next.png"), tr("&Next","next window"), this); 358 358 actionNextWindow->setShortcut( tr("F5","next window shortcut") ); … … 11169 11169 } 11170 11170 11171 11171 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()) ); 11176 11176 } 11177 11177 11178 11178 void ApplicationWindow::showHelp() … … 11203 11203 } 11204 11204 11205 11205 QStringList cmdLst = QStringList() << "-profile" << profilePath; 11206 assistant->setArguments( cmdLst );11207 assistant->showPage(helpFilePath);11206 //assistant->setArguments( cmdLst ); 11207 //assistant->showPage(helpFilePath); 11208 11208 } 11209 11209 11210 11210 void ApplicationWindow::showPlotWizard()