diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-07-12 06:42:50 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-07-20 15:28:26 +0300 |
commit | ed09b80c121764aba5e26b798b09f80f7abdd228 (patch) | |
tree | eadbd528735f1a976815d3d5a2288e23e332cc30 /qt-ui/printoptions.h | |
parent | e1dda8df636058734ff8ab79ade210c08339b978 (diff) | |
download | subsurface-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.h | 2 |
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 { |