summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Richardson <arichardson.kde@gmail.com>2015-05-25 15:28:54 (GMT)
committerAlex Richardson <arichardson.kde@gmail.com>2015-08-19 14:14:18 (GMT)
commit81d4b984a4b88bb8ffcaddebe62d21adb456fa75 (patch)
treec5e0c0c150b868510b5878e4bed8796b400aed66
parent461c963cb8a63c68beb463a87f3944d0a59e98e7 (diff)
K_GLOBAL_STATIC -> Q_GLOBAL_STATIC
-rw-r--r--core/script/kjs_field.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/script/kjs_field.cpp b/core/script/kjs_field.cpp
index 2f95b9a..b035441 100644
--- a/core/script/kjs_field.cpp
+++ b/core/script/kjs_field.cpp
@@ -17,7 +17,6 @@
#include <qhash.h>
#include <QtCore/QDebug>
-#include <kglobal.h>
#include "../debug_p.h"
#include "../document_p.h"
@@ -29,7 +28,7 @@ using namespace Okular;
static KJSPrototype *g_fieldProto;
typedef QHash< FormField *, KJSObject > FormCache;
-K_GLOBAL_STATIC( FormCache, g_fieldCache )
+Q_GLOBAL_STATIC( FormCache, g_fieldCache )
// Field.doc
static KJSObject fieldGetDoc( KJSContext *context, void * )