From 30bee57b60526dcdf675a0606e72b980a67af17b Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Fri, 4 Oct 2013 13:17:37 -0300 Subject: Code Cleanup - Uneeded preferences stored at the old prefs setting Those preferences removed ( basically the ones about visibility of the List View of the Table ) are now managed by the Qt Settings system, and thus there's no need to have them there. wich gave us a pretty good cleanup. Signed-off-by: Tomaz Canabrava --- pref.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'pref.h') diff --git a/pref.h b/pref.h index 8098c2799..8d181f20a 100644 --- a/pref.h +++ b/pref.h @@ -6,17 +6,6 @@ extern "C" { #endif /* can't use 'bool' for the boolean values - different size in C and C++ */ -typedef struct { - short cylinder; - short temperature; - short totalweight; - short suit; - short nitrox; - short sac; - short otu; - short maxcns; -} visible_cols_t; - typedef struct { short po2; short pn2; @@ -30,7 +19,6 @@ struct preferences { const char *divelist_font; const char *default_filename; double font_size; - visible_cols_t visible_cols; partial_pressure_graphs_t pp_graphs; short mod; double mod_ppO2; -- cgit v1.2.3-70-g09d2