diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-06-23 17:40:30 +0300 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-06-26 20:11:03 +0000 |
commit | 6d3a5d8aa07e575c153316a9725f36c43abd0bca (patch) | |
tree | fc16289b207d324ed0d20a67356eb5d6b60b103d | |
parent | 60f668ba594c08aa935887ecd0e76d6ba016f166 (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>
-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) |