[PC-BSD Commits] r17992 - pcbsd/current/src-qt4/pc-firstbootgui

svn at pcbsd.org svn at pcbsd.org
Mon Jul 30 09:46:40 PDT 2012


Author: kris
Date: 2012-07-30 16:46:40 +0000 (Mon, 30 Jul 2012)
New Revision: 17992

Modified:
   pcbsd/current/src-qt4/pc-firstbootgui/firstboot.cpp
   pcbsd/current/src-qt4/pc-firstbootgui/helpText.h
Log:

Fix missing help text causing dialog to not be closable



Modified: pcbsd/current/src-qt4/pc-firstbootgui/firstboot.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-firstbootgui/firstboot.cpp	2012-07-30 16:25:04 UTC (rev 17991)
+++ pcbsd/current/src-qt4/pc-firstbootgui/firstboot.cpp	2012-07-30 16:46:40 UTC (rev 17992)
@@ -253,6 +253,15 @@
 	case 3:
 		pcHelp->dialogInit(HELPTEXT3);
 		break;
+	case 4:
+		pcHelp->dialogInit(HELPTEXT4);
+		break;
+	case 5:
+		pcHelp->dialogInit(HELPTEXT5);
+		break;
+	default:
+		pcHelp->dialogInit("Missing help file...");
+		break;
 	}
 	pcHelp->show();
 }

Modified: pcbsd/current/src-qt4/pc-firstbootgui/helpText.h
===================================================================
--- pcbsd/current/src-qt4/pc-firstbootgui/helpText.h	2012-07-30 16:25:04 UTC (rev 17991)
+++ pcbsd/current/src-qt4/pc-firstbootgui/helpText.h	2012-07-30 16:46:40 UTC (rev 17992)
@@ -10,8 +10,5 @@
 #define HELPTEXT4 QObject::tr("On this screen you may connect to an available wifi network. If you have a hidden network, it may be added later in the Network Manager.")
 #define HELPTEXT5 QObject::tr("The computer setup is now finished! Click Finish to log into your new Desktop.")
 #define HELPTEXT6 QObject::tr("")
-#define HELPTEXT7 QObject::tr("")
-#define HELPTEXT8 QObject::tr("")
-#define HELPTEXT9 QObject::tr("")
 
 #endif // HELPTEXT_H



More information about the Commits mailing list