[rkward-cvs] SF.net SVN: rkward:[2520] trunk/rkward/rkward/windows/rkhelpsearchwindow. cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Tue Jun 9 20:45:51 UTC 2009


Revision: 2520
          http://rkward.svn.sourceforge.net/rkward/?rev=2520&view=rev
Author:   tfry
Date:     2009-06-09 20:45:51 +0000 (Tue, 09 Jun 2009)

Log Message:
-----------
Comment

Modified Paths:
--------------
    trunk/rkward/rkward/windows/rkhelpsearchwindow.cpp

Modified: trunk/rkward/rkward/windows/rkhelpsearchwindow.cpp
===================================================================
--- trunk/rkward/rkward/windows/rkhelpsearchwindow.cpp	2009-06-08 19:53:00 UTC (rev 2519)
+++ trunk/rkward/rkward/windows/rkhelpsearchwindow.cpp	2009-06-09 20:45:51 UTC (rev 2520)
@@ -157,6 +157,10 @@
 	command.append (", chmhelp=FALSE, htmlhelp=TRUE)[1]");
 
 	RKGlobals::rInterface ()->issueCommand (command, RCommand::App | RCommand::GetStringVector, i18n ("Find HTML help for %1").arg (function_name), this, GET_HELP_URL);
+
+	// we *could* simply call show() on the object that help() returns. However, since this function
+	// may be called externally, we need to handle the case when no help can be found. So we use
+	// this two-stage approach, instead.
 }
 
 void RKHelpSearchWindow::slotFindButtonClicked () {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list