mirror of
https://github.com/Skycoder42/QHotkey.git
synced 2026-11-19 12:49:58 +03:00
README: Fix typo (#107)
This commit is contained in:
@@ -66,7 +66,7 @@ int main(int argc, char *argv[])
|
||||
QApplication app(argc, argv);
|
||||
|
||||
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, [&](){
|
||||
qDebug() << "Hotkey Activated - the application will quit now";
|
||||
|
||||
Reference in New Issue
Block a user