README: Fix typo (#107)

This commit is contained in:
Orgad Shaneh
2025-10-01 00:58:35 +03:00
committed by GitHub
parent 6c0e98492c
commit d7b2589855
+1 -1
View File
@@ -66,7 +66,7 @@ int main(int argc, char *argv[])
QApplication app(argc, argv); QApplication app(argc, argv);
QHotkey hotkey(QKeySequence("Ctrl+Alt+Q"), true, &app); //The hotkey will be automatically registered QHotkey hotkey(QKeySequence("Ctrl+Alt+Q"), true, &app); //The hotkey will be automatically registered
qDebug() << "Is segistered:" << hotkey.isRegistered(); qDebug() << "Is registered:" << hotkey.isRegistered();
QObject::connect(&hotkey, &QHotkey::activated, qApp, [&](){ QObject::connect(&hotkey, &QHotkey::activated, qApp, [&](){
qDebug() << "Hotkey Activated - the application will quit now"; qDebug() << "Hotkey Activated - the application will quit now";