From 3650aac9ffd143275e13aced9f5fa6e907634bda Mon Sep 17 00:00:00 2001 From: nowrep Date: Wed, 26 Feb 2014 19:55:49 +0100 Subject: [PATCH] [Code] Little cleanups after rename QupZilla -> BrowserWindow --- src/lib/app/browserwindow.cpp | 4 ++-- src/lib/app/qz_namespace.h | 2 +- src/lib/autofill/autofill.h | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lib/app/browserwindow.cpp b/src/lib/app/browserwindow.cpp index 7930ea512..2b98b4a44 100644 --- a/src/lib/app/browserwindow.cpp +++ b/src/lib/app/browserwindow.cpp @@ -1881,7 +1881,7 @@ void BrowserWindow::resizeEvent(QResizeEvent* event) void BrowserWindow::keyPressEvent(QKeyEvent* event) { - if (mApp->plugins()->processKeyPress(Qz::ON_QupZilla, this, event)) { + if (mApp->plugins()->processKeyPress(Qz::ON_BrowserWindow, this, event)) { return; } @@ -2061,7 +2061,7 @@ void BrowserWindow::keyPressEvent(QKeyEvent* event) void BrowserWindow::keyReleaseEvent(QKeyEvent* event) { - if (mApp->plugins()->processKeyRelease(Qz::ON_QupZilla, this, event)) { + if (mApp->plugins()->processKeyRelease(Qz::ON_BrowserWindow, this, event)) { return; } diff --git a/src/lib/app/qz_namespace.h b/src/lib/app/qz_namespace.h index e2a8f4756..3831ee237 100644 --- a/src/lib/app/qz_namespace.h +++ b/src/lib/app/qz_namespace.h @@ -90,7 +90,7 @@ enum CommandLineAction { enum ObjectName { ON_WebView, ON_TabBar, - ON_QupZilla + ON_BrowserWindow }; enum NewTabPositionFlag { diff --git a/src/lib/autofill/autofill.h b/src/lib/autofill/autofill.h index c7b17779a..c68fcd1c6 100644 --- a/src/lib/autofill/autofill.h +++ b/src/lib/autofill/autofill.h @@ -15,8 +15,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . * ============================================================ */ -#ifndef AUTOFILLMODEL_H -#define AUTOFILLMODEL_H +#ifndef AUTOFILL_H +#define AUTOFILL_H #include @@ -72,4 +72,4 @@ private: }; -#endif // AUTOFILLMODEL_H +#endif // AUTOFILL_H