From 477f48be70948733e3c9e7cfc305a4e4a3f1127e Mon Sep 17 00:00:00 2001 From: jkriege2 Date: Sun, 5 May 2019 21:46:36 +0200 Subject: [PATCH] compile error fixed in example --- examples/test_styling/README.md | 2 +- examples/test_styling/test_styling_main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/test_styling/README.md b/examples/test_styling/README.md index 22c631a9d0..dbd8e8dd50 100644 --- a/examples/test_styling/README.md +++ b/examples/test_styling/README.md @@ -23,7 +23,7 @@ int main(int argc, char* argv[]) // you can set the system-wide default style properties early on // all JKQTPlotter instance created after this, will use these // settings as their initial settings - JKQTPGetSystemDefaultStyle().userActionColor=QColor("red"); + JKQTPGetSystemDefaultStyle().userActionFontSize=10; TestStyling win; win.show(); diff --git a/examples/test_styling/test_styling_main.cpp b/examples/test_styling/test_styling_main.cpp index ce1d1cf4da..ffb1a580f6 100644 --- a/examples/test_styling/test_styling_main.cpp +++ b/examples/test_styling/test_styling_main.cpp @@ -10,7 +10,7 @@ int main(int argc, char* argv[]) // you can set the system-wide default style properties early on // all JKQTPlotter instance created after this, will use these // settings as their initial settings - JKQTPGetSystemDefaultStyle().userActionColor=QColor("red"); + JKQTPGetSystemDefaultStyle().userActionFontSize=12; TestStyling win; win.show();