summaryrefslogtreecommitdiffstats
path: root/cui/source/options/optopencl.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-06-23 17:40:30 +0300
committerTor Lillqvist <tml@collabora.com>2016-06-23 17:46:35 +0300
commitc7c27b9b191291cf36e4940aef3e3e7371855797 (patch)
tree516891a41f4844b033e613348312c648cb14e5d8 /cui/source/options/optopencl.cxx
parentResolves: tdf#100460 queryContentCells doesn't count annotations... (diff)
downloadcore-c7c27b9b191291cf36e4940aef3e3e7371855797.tar.gz
core-c7c27b9b191291cf36e4940aef3e3e7371855797.zip
tdf#100222: Inform user that a restart is needed after toggling OpenCL use
Change-Id: Ic33cb02440276bc0601c86f2c9eab7d74a6b9874
Diffstat (limited to 'cui/source/options/optopencl.cxx')
-rw-r--r--cui/source/options/optopencl.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/cui/source/options/optopencl.cxx b/cui/source/options/optopencl.cxx
index 025cc395fb1d..776bb0f0ccdd 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), VclMessageType::Info);
+ aWarnBox->Execute();
}
if (bModified)