diff options
author | Thomas Preud'homme <robotux@celest.fr> | 2020-08-31 00:44:34 +0100 |
---|---|---|
committer | Thomas Preud'homme <robotux@celest.fr> | 2020-08-31 00:44:34 +0100 |
commit | ac95ce6e0538249e9c395904b49b078234fdcb5e (patch) | |
tree | e10c4b08e8f5e8b462abd28481b9235a11b61ac8 /EventDispatcher.cpp | |
parent | 3ac113857071fc1f225b2e1b42547269e568c6b7 (diff) |
New upstream version 2.2.4.5
Diffstat (limited to 'EventDispatcher.cpp')
-rwxr-xr-x | EventDispatcher.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/EventDispatcher.cpp b/EventDispatcher.cpp index 1e37592..4c49de7 100755 --- a/EventDispatcher.cpp +++ b/EventDispatcher.cpp @@ -292,12 +292,12 @@ void EventDispatcher::initFunction() std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl; abort(); } - if(!connect(backgroundIcon, &SystrayIcon::showProductKey, ProductKey::productKey, &ProductKey::show,Qt::DirectConnection)) + if(!connect(core, &Core::askProductKey, ProductKey::productKey, &ProductKey::show,Qt::DirectConnection)) { std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl; abort(); } - if(!connect(ProductKey::productKey, &ProductKey::changeToUltimate,backgroundIcon, &SystrayIcon::changeToUltimate,Qt::DirectConnection)) + if(!connect(ProductKey::productKey, &ProductKey::changeToUltimate,core, &Core::changeToUltimate,Qt::DirectConnection)) { std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl; abort(); |