diff options
author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2011-07-14 15:55:45 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@nokia.com> | 2011-07-14 15:57:05 (GMT) |
commit | d4f7cc91cdaee88db35fd74666d631d44c8dd4b7 (patch) | |
tree | 21c009dff25d4ebe6a176a78a1a2f80b389e9b94 /src | |
parent | 58568e9d887460c8be59656bc5aa56dd766cfa4e (diff) | |
download | Qt-d4f7cc91cdaee88db35fd74666d631d44c8dd4b7.zip Qt-d4f7cc91cdaee88db35fd74666d631d44c8dd4b7.tar.gz Qt-d4f7cc91cdaee88db35fd74666d631d44c8dd4b7.tar.bz2 |
namespace fix
Reviewed-by: hjk
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/tools/qelapsedtimer_win.cpp | 6 | ||||
-rw-r--r-- | src/gui/text/qfontdatabase.cpp | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/corelib/tools/qelapsedtimer_win.cpp b/src/corelib/tools/qelapsedtimer_win.cpp index cd076a6..d79dc5d 100644 --- a/src/corelib/tools/qelapsedtimer_win.cpp +++ b/src/corelib/tools/qelapsedtimer_win.cpp @@ -42,14 +42,14 @@ #include "qelapsedtimer.h" #include <windows.h> -// Result of QueryPerformanceFrequency, 0 indicates that the high resolution timer is unavailable -static quint64 counterFrequency = 0; - typedef ULONGLONG (WINAPI *PtrGetTickCount64)(void); static PtrGetTickCount64 ptrGetTickCount64 = 0; QT_BEGIN_NAMESPACE +// Result of QueryPerformanceFrequency, 0 indicates that the high resolution timer is unavailable +static quint64 counterFrequency = 0; + static void resolveLibs() { static bool done = false; diff --git a/src/gui/text/qfontdatabase.cpp b/src/gui/text/qfontdatabase.cpp index 3762f39..26d9f2c 100644 --- a/src/gui/text/qfontdatabase.cpp +++ b/src/gui/text/qfontdatabase.cpp @@ -1130,13 +1130,14 @@ QT_BEGIN_INCLUDE_NAMESPACE #elif defined(Q_OS_SYMBIAN) # include "qfontdatabase_s60.cpp" #endif +QT_END_INCLUDE_NAMESPACE + #if !defined(Q_WS_X11) QString QFontDatabase::resolveFontFamilyAlias(const QString &family) { return family; } #endif -QT_END_INCLUDE_NAMESPACE static QtFontStyle *bestStyle(QtFontFoundry *foundry, const QtFontStyle::Key &styleKey, const QString &styleName = QString()) |