From a98bbd87b9dff60d1de2dcd1d4538055543d3b1e Mon Sep 17 00:00:00 2001
From: Richard Maudsley <richard.maudsley@isode.com>
Date: Fri, 17 Jan 2014 16:50:37 +0000
Subject: Safe keeping.

Change-Id: I3845db9204004212711e6c6f68e23c0e7ab29f52

diff --git a/Swift/QtUI/QtHighlightEditor.cpp b/Swift/QtUI/QtHighlightEditor.cpp
index b9d9a53..807b180 100644
--- a/Swift/QtUI/QtHighlightEditor.cpp
+++ b/Swift/QtUI/QtHighlightEditor.cpp
@@ -360,7 +360,10 @@ HighlightRule QtHighlightEditor::ruleFromDialog()
 		action.setTextBackground("");
 	} else {
 		action.setHighlightText(true);
+		QColor foregroundColor = ui_.foregoundColor.getColor();
 		action.setTextColor("#ffffffff");
+
+		QColor backgroundColor = ui_.backgroundColor.getColor();
 		action.setTextBackground("#ffffffff");
 	}
 
-- 
cgit v0.10.2-6-g49f6