From 9185336561edbff6756acc76282ee2b7f3cad7ef Mon Sep 17 00:00:00 2001 From: Itay Grudev Date: Mon, 15 Aug 2016 23:02:40 +0100 Subject: Improved `instanceStarted()` note in `README.md`. --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 27627c0..9d398d9 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,8 @@ that a new instance had been started. The library uses `stdlib` to terminate the program with the `exit()` function. -You can use the library as if you use any other `QCoreApplication` class: +You can use the library as if you use any other `QCoreApplication` derived +class: ```cpp #include @@ -104,7 +105,8 @@ int main(int argc, char *argv[]) ``` ___Note:__ A secondary instance won't cause the emission of the -`instanceStarted()` signal. +`instanceStarted()` signal by default. See `SingleApplication::Mode` for more +details. You can check whether your instance is a primary or secondary with the following methods: -- cgit v1.2.1