diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-06-23 17:40:30 +0300 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2016-07-04 15:52:51 +0200 |
commit | 2ea72b322911ecb4c8df0c23bb2570e74bdc5407 (patch) | |
tree | d3f8036f13a7b956d28005ea87bd0eebf5a3bed1 /cui | |
parent | 92c00125f7ea1dc203ffd03d6047eaccb8c8846e (diff) |
tdf#100222: Inform user that a restart is needed after toggling OpenCL use
(cherry picked from commit c7c27b9b191291cf36e4940aef3e3e7371855797)
Change-Id: Ic33cb02440276bc0601c86f2c9eab7d74a6b9874
Reviewed-on: https://gerrit.libreoffice.org/26611
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 6d3a5d8aa07e575c153316a9725f36c43abd0bca)
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optopencl.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cui/source/options/optopencl.cxx b/cui/source/options/optopencl.cxx index db1470e290c7..f055ed057b07 100644 --- a/cui/source/options/optopencl.cxx +++ b/cui/source/options/optopencl.cxx @@ -167,6 +167,9 @@ bool SvxOpenCLTabPage::FillItemSet( SfxItemSet* ) { maConfig.set(); bModified = true; + + ScopedVclPtrInstance<MessageDialog> aWarnBox(this, CUI_RES(RID_SVXSTR_OPTIONS_RESTART), VCL_MESSAGE_INFO); + aWarnBox->Execute(); } if (bModified) |