OSSP CVS Repository

ossp - Difference in ossp-pkg/as/as-gui/as_helpanel.cpp versions 1.1 and 1.2
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/as/as-gui/as_helpanel.cpp 1.1 -> 1.2

--- as_helpanel.cpp      2003/02/27 13:57:09     1.1
+++ as_helpanel.cpp      2003/03/05 20:27:34     1.2
@@ -48,7 +48,7 @@
 // The dialog will by default be modal, unless you set 'bModal' to
 // false to construct a modeless dialog.
 //
-Helpanel::Helpanel(QWidget *pParent, const char *kszName, bool bModal, WFlags Flags)
+Helpanel::Helpanel(const QString &kSource, QWidget *pParent, const char *kszName, bool bModal, WFlags Flags)
     : QDialog(pParent, kszName, bModal, Flags)
 {
     // Boilerplate code to initialize the panel
@@ -65,6 +65,7 @@
 
     // Groupbox and its text display
     m_pBrowser = new QTextBrowser(this, "Helpbrowser");
+    m_pBrowser->setSource(QString(TITRAQ_DOCDIR) + QChar('/') + kSource);
     m_pBrowser->setReadOnly(true);
     m_pBrowser->setFocus();
 

CVSTrac 2.0.1