[PC-BSD Commits] r21488 - pcbsd-projects/PCDM

svn at pcbsd.org svn at pcbsd.org
Wed Feb 13 17:25:37 PST 2013


Author: kenmoore
Date: 2013-02-14 01:25:37 +0000 (Thu, 14 Feb 2013)
New Revision: 21488

Modified:
   pcbsd-projects/PCDM/themeStruct.cpp
Log:
Fix a typo in the new theme loading function that completely messed things up



Modified: pcbsd-projects/PCDM/themeStruct.cpp
===================================================================
--- pcbsd-projects/PCDM/themeStruct.cpp	2013-02-14 01:18:47 UTC (rev 21487)
+++ pcbsd-projects/PCDM/themeStruct.cpp	2013-02-14 01:25:37 UTC (rev 21488)
@@ -39,7 +39,7 @@
       QString val = line.section("=",1,1).simplified();  //value
       QString itemName = prop.section("_",0,0).toLower(); //item name
       QString itemCat = prop.section("_",1,3).simplified();  //item category for value
-      int index = itemName.indexOf( itemName ); //index for this item
+      int index = itemNames.indexOf( itemName ); //index for this item
       qDebug() << "File Item:" << prop << val << itemName << itemCat << index;
       //Now save this item as appropriate
       if(prop == "IMAGE_DIR" && !val.isEmpty()){ //default directory for icons



More information about the Commits mailing list