summaryrefslogtreecommitdiffstats
path: root/qt-ui/printoptions.h
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-07-12 06:42:50 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-07-20 15:28:26 +0300
commited09b80c121764aba5e26b798b09f80f7abdd228 (patch)
treeeadbd528735f1a976815d3d5a2288e23e332cc30 /qt-ui/printoptions.h
parente1dda8df636058734ff8ab79ade210c08339b978 (diff)
downloadsubsurface-ed09b80c121764aba5e26b798b09f80f7abdd228.tar.gz
Printing: save custom color palette to QSettings
- save custom colors to QSettings. - load custom colors from QSettings. - set almond color palette as default palette. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'qt-ui/printoptions.h')
-rw-r--r--qt-ui/printoptions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/printoptions.h b/qt-ui/printoptions.h
index 92064d223..3a55c6994 100644
--- a/qt-ui/printoptions.h
+++ b/qt-ui/printoptions.h
@@ -49,7 +49,7 @@ struct template_options {
}
};
-extern template_options::color_palette_struct almond_colors;
+extern template_options::color_palette_struct almond_colors, custom_colors;
// should be based on a custom QPrintDialog class
class PrintOptions : public QWidget {