summaryrefslogtreecommitdiffstats
path: root/pref.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-10-04 13:17:37 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-10-04 13:17:37 -0300
commit30bee57b60526dcdf675a0606e72b980a67af17b (patch)
tree0c33ec5fda451dc360dd7d3667676d25c5e0e52e /pref.h
parenta5b351ed720597ea62ee0254e60e47a4f87ce1d2 (diff)
downloadsubsurface-30bee57b60526dcdf675a0606e72b980a67af17b.tar.gz
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 <tcanabrava@kde.org>
Diffstat (limited to 'pref.h')
-rw-r--r--pref.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/pref.h b/pref.h
index 8098c2799..8d181f20a 100644
--- a/pref.h
+++ b/pref.h
@@ -7,17 +7,6 @@ extern "C" {
/* 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;
short phe;
@@ -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;