Fixed some typos.
This commit is contained in:
parent
a63b55f725
commit
2f949604c1
@ -234,7 +234,7 @@ set(APP_HEADERS
|
|||||||
# CORE headers.
|
# CORE headers.
|
||||||
src/core/settings.h
|
src/core/settings.h
|
||||||
src/core/basenetworkaccessmanager.h
|
src/core/basenetworkaccessmanager.h
|
||||||
src/core/webBrowsernetworkaccessmanager.h
|
src/core/webbrowsernetworkaccessmanager.h
|
||||||
src/core/basewebpage.h
|
src/core/basewebpage.h
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -114,7 +114,7 @@ void ShortcutButton::keyReleaseEvent(QKeyEvent *event) {
|
|||||||
Qt::KeyboardModifiers new_modifiers = event->modifiers() &
|
Qt::KeyboardModifiers new_modifiers = event->modifiers() &
|
||||||
(Qt::SHIFT | Qt::CTRL | Qt::ALT | Qt::META);
|
(Qt::SHIFT | Qt::CTRL | Qt::ALT | Qt::META);
|
||||||
|
|
||||||
if ((new_modifiers & m_catcher->m_modifierKeys) < m_catcher->m_modifierKeys) {
|
if (((uint) new_modifiers & m_catcher->m_modifierKeys) < m_catcher->m_modifierKeys) {
|
||||||
m_catcher->m_modifierKeys = new_modifiers;
|
m_catcher->m_modifierKeys = new_modifiers;
|
||||||
m_catcher->controlModifierlessTimout();
|
m_catcher->controlModifierlessTimout();
|
||||||
m_catcher->updateDisplayShortcut();
|
m_catcher->updateDisplayShortcut();
|
||||||
|
@ -114,7 +114,6 @@ void SystemTrayIcon::show() {
|
|||||||
// Delay avoids race conditions and tray icon is properly displayed.
|
// Delay avoids race conditions and tray icon is properly displayed.
|
||||||
qDebug("Showing tray icon with 1000 ms delay.");
|
qDebug("Showing tray icon with 1000 ms delay.");
|
||||||
QTimer::singleShot(1000,
|
QTimer::singleShot(1000,
|
||||||
Qt::CoarseTimer,
|
|
||||||
this, SLOT(showPrivate()));
|
this, SLOT(showPrivate()));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user