From 6d3a5d8aa07e575c153316a9725f36c43abd0bca Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 23 Jun 2016 17:40:30 +0300 Subject: tdf#100222: Inform user that a restart is needed after toggling OpenCL use MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit c7c27b9b191291cf36e4940aef3e3e7371855797) Change-Id: Ic33cb02440276bc0601c86f2c9eab7d74a6b9874 Reviewed-on: https://gerrit.libreoffice.org/26611 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- cui/source/options/optopencl.cxx | 3 +++ 1 file changed, 3 insertions(+) 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 aWarnBox(this, CUI_RES(RID_SVXSTR_OPTIONS_RESTART), VCL_MESSAGE_INFO); + aWarnBox->Execute(); } if (bModified) -- cgit