K_GLOBAL_STATIC -> Q_GLOBAL_STATIC

frameworks
Alex Richardson 11 years ago
parent 461c963cb8
commit 81d4b984a4
  1. 3
      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 * )

Loading…
Cancel
Save