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

svn at pcbsd.org svn at pcbsd.org
Wed Mar 13 09:09:02 PDT 2013


Author: kenmoore
Date: 2013-03-13 16:09:02 +0000 (Wed, 13 Mar 2013)
New Revision: 21841

Modified:
   pcbsd-projects/PCDM/pcdm-backend.cpp
Log:
Oops, missed an old theme file reference



Modified: pcbsd-projects/PCDM/pcdm-backend.cpp
===================================================================
--- pcbsd-projects/PCDM/pcdm-backend.cpp	2013-03-13 16:02:08 UTC (rev 21840)
+++ pcbsd-projects/PCDM/pcdm-backend.cpp	2013-03-13 16:09:02 UTC (rev 21841)
@@ -341,10 +341,10 @@
   QString base = "/usr/local/share/PCDM";
   QDir mainDir(base);
   if(!mainDir.exists()){ mainDir.mkdir(base); }
-  if(!mainDir.exists("images")){ mainDir.mkdir("images"); }
+  if(!mainDir.exists("themes")){ mainDir.mkdir("themes"); }
   //Check for sample files
   if(!mainDir.exists("pcdm.conf.sample")){ QFile::copy(":samples/pcdm.conf",base+"/pcdm.conf.sample"); }
-  if(!mainDir.exists("pcdm.theme.sample")){ QFile::copy(":samples/pcdm.theme",base+"/pcdm.theme.sample"); }
+  if(!mainDir.exists("pcdm.theme.sample")){ QFile::copy(":samples/themes/default/default.theme",base+"/pcdm.theme.sample"); }
   
 }
 



More information about the Commits mailing list