]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/patchmanip.cpp
Introduce Property<T> to simplify preferences system
[xonotic/netradiant.git] / radiant / patchmanip.cpp
index a7e993ef896b458971bd626b22ce9712940760a4..60ee490f5d4fcac0ea0e390417b69f8284422d0c 100644 (file)
@@ -607,7 +607,7 @@ void Patch_registerPreferencesPage(){
 #include "preferencesystem.h"
 
 void PatchPreferences_construct(){
-       GlobalPreferenceSystem().registerPreference( "Subdivisions", IntImportStringCaller( g_PatchSubdivideThreshold ), IntExportStringCaller( g_PatchSubdivideThreshold ) );
+       GlobalPreferenceSystem().registerPreference( "Subdivisions", make_property_string( g_PatchSubdivideThreshold ) );
 }