Skip to content
This repository has been archived by the owner on Dec 17, 2017. It is now read-only.

Commit

Permalink
Typo fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
kuzmas committed Apr 27, 2013
1 parent 6029d1f commit a8e7160
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ void ShortcutSelector::grabShortcut()
{
if (!isChecked())
{
mClient->cancelShortutGrab();
mClient->cancelShorcutGrab();
return;
}

Expand Down
4 changes: 2 additions & 2 deletions libraries/razor-global-key-shortcuts-client/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ void ClientImpl::grabShortcut(uint timeout)
connect(watcher, SIGNAL(finished(QDBusPendingCallWatcher *)), this, SLOT(grabShortcutFinished(QDBusPendingCallWatcher *)));
}

void ClientImpl::cancelShortutGrab()
void ClientImpl::cancelShorcutGrab()
{
mProxy->cancelShortcutGrab();
}
Expand Down Expand Up @@ -294,7 +294,7 @@ Client::~Client()
Action *Client::addAction(const QString &shortcut, const QString &path, const QString &description, QObject *parent) { return impl->addClientAction(shortcut, path, description, parent); }
bool Client::removeAction(const QString &path) { return impl->removeClientAction(path); }
void Client::grabShortcut(uint timeout) { impl->grabShortcut(timeout); }
void Client::cancelShortutGrab() { impl->cancelShortutGrab(); }
void Client::cancelShorcutGrab() { impl->cancelShorcutGrab(); }
bool Client::isDaemonPresent() const { return impl->isDaemonPresent(); }

}
2 changes: 1 addition & 1 deletion libraries/razor-global-key-shortcuts-client/client.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class SHARED_EXPORT Client : public QObject

public slots:
void grabShortcut(uint timeout);
void cancelShortutGrab();
void cancelShorcutGrab();

signals:
void shortcutGrabbed(const QString &);
Expand Down
2 changes: 1 addition & 1 deletion libraries/razor-global-key-shortcuts-client/client_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class ClientImpl : public QObject
void removeAction(ActionImpl *action);

void grabShortcut(uint timeout);
void cancelShortutGrab();
void cancelShorcutGrab();

bool isDaemonPresent() const;

Expand Down
2 changes: 1 addition & 1 deletion razorqt-globalkeyshortcuts/config/actions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ void Actions::grabShortcut(uint timeout)
connect(watcher, SIGNAL(finished(QDBusPendingCallWatcher *)), this, SLOT(grabShortcutFinished(QDBusPendingCallWatcher *)));
}

void Actions::cancelShortutGrab()
void Actions::cancelShorcutGrab()
{
mDaemonProxy->cancelShortcutGrab();
}
Expand Down
2 changes: 1 addition & 1 deletion razorqt-globalkeyshortcuts/config/actions.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class Actions : public QObject


void grabShortcut(uint timeout);
void cancelShortutGrab();
void cancelShorcutGrab();

signals:
void daemonDisappeared();
Expand Down
2 changes: 1 addition & 1 deletion razorqt-globalkeyshortcuts/config/shortcut_selector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ void ShortcutSelector::grabShortcut(int timeout)

if (!isChecked())
{
mActions->cancelShortutGrab();
mActions->cancelShorcutGrab();
return;
}

Expand Down

3 comments on commit a8e7160

@agaida
Copy link
Contributor

@agaida agaida commented on a8e7160 Apr 29, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-void Client::cancelShortutGrab() { impl->cancelShortutGrab(); }
+void Client::cancelShorcutGrab() { impl->cancelShorcutGrab(); }

shouldn't it be
+void Client::cancelShortcutGrab() { impl->cancelShortcutGrab(); } ??

@jleclanche
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it should

@kuzmas
Copy link
Contributor Author

@kuzmas kuzmas commented on a8e7160 Apr 29, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ha-ha, awesome!! Good spotting, thanks you!
1d988c6

Please sign in to comment.