From 2f949604c185cbc0a38588986c92ec4926aa18fe Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Sat, 31 Aug 2013 08:30:09 +0200 Subject: [PATCH] Fixed some typos. --- CMakeLists.txt | 2 +- src/gui/shortcutbutton.cpp | 2 +- src/gui/systemtrayicon.cpp | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a9e2ab7d6..f1c258832 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -234,7 +234,7 @@ set(APP_HEADERS # CORE headers. src/core/settings.h src/core/basenetworkaccessmanager.h - src/core/webBrowsernetworkaccessmanager.h + src/core/webbrowsernetworkaccessmanager.h src/core/basewebpage.h ) diff --git a/src/gui/shortcutbutton.cpp b/src/gui/shortcutbutton.cpp index f09c66d24..c31b87363 100644 --- a/src/gui/shortcutbutton.cpp +++ b/src/gui/shortcutbutton.cpp @@ -114,7 +114,7 @@ void ShortcutButton::keyReleaseEvent(QKeyEvent *event) { Qt::KeyboardModifiers new_modifiers = event->modifiers() & (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->controlModifierlessTimout(); m_catcher->updateDisplayShortcut(); diff --git a/src/gui/systemtrayicon.cpp b/src/gui/systemtrayicon.cpp index fe375e044..71cceccdb 100644 --- a/src/gui/systemtrayicon.cpp +++ b/src/gui/systemtrayicon.cpp @@ -114,7 +114,6 @@ void SystemTrayIcon::show() { // Delay avoids race conditions and tray icon is properly displayed. qDebug("Showing tray icon with 1000 ms delay."); QTimer::singleShot(1000, - Qt::CoarseTimer, this, SLOT(showPrivate())); #endif }