src/config.cpp

changeset 298
f945fc8dae9e
parent 290
be0c367e7420
child 299
db60288fc36a
--- a/src/config.cpp	Fri Jun 21 17:29:29 2013 +0300
+++ b/src/config.cpp	Fri Jun 21 17:36:50 2013 +0300
@@ -177,11 +177,7 @@
 			break;
 		}
 		
-		const char* defstr = (cfg->getType() != CONFIG_keyseq) ? cfg->defaultstring :
-			qchars (static_cast<keyseqconfig*> (cfg)->defval.toString ());
-		
 		// Write the entry now.
-		fprint (f, "\n# [%1] default: %2\n", g_ConfigTypeNames[cfg->getType()], defstr);
 		fprint (f, "%1=%2\n", cfg->name, valstring);
 	}
 	

mercurial