[PC-BSD Commits] r100 - pcbsd/trunk/PBCsource

svn at pcbsd.org svn at pcbsd.org
Sun Jan 28 15:00:55 PST 2007


Author: kris
Date: 2007-01-29 00:00:54 +0100 (Mon, 29 Jan 2007)
New Revision: 100

Modified:
   pcbsd/trunk/PBCsource/pbcwizard.ui.h
Log:
Fixed issue adding new "Mime" types with slot error. 

Modified: pcbsd/trunk/PBCsource/pbcwizard.ui.h
===================================================================
--- pcbsd/trunk/PBCsource/pbcwizard.ui.h	2007-01-23 17:31:44 UTC (rev 99)
+++ pcbsd/trunk/PBCsource/pbcwizard.ui.h	2007-01-28 23:00:54 UTC (rev 100)
@@ -1393,3 +1393,16 @@
 {
 EditMimeButtonSlot();
 }
+
+
+void PBCwizard::AddMimeDataSlot( QString Extension, QString IconDir, int ProgNum )
+{
+     int NewItem = MimeListBox->count();
+    
+        // Save the item stuff
+    MimeExt[NewItem] = Extension;
+    MimeIcon[NewItem] = IconDir;
+    MimeProg[NewItem] = ProgNum;
+
+     PopulateMimeList();
+}



More information about the Commits mailing list