summaryrefslogtreecommitdiff
path: root/EventDispatcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'EventDispatcher.cpp')
-rwxr-xr-xEventDispatcher.cpp4
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();