summaryrefslogtreecommitdiffstats
path: root/src/gui/text
diff options
context:
space:
mode:
authorminiak <milan.burda@gmail.com>2009-12-22 13:57:59 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2009-12-22 14:42:30 (GMT)
commite60dbc9ca47a0e9371d619b7c5d24a4b3ec4fcd9 (patch)
tree4f1df650ecbb1f5a66c49ab9e4458d75ebeef095 /src/gui/text
parentef5291b0fd521b7f22169ebc2297f720120296d6 (diff)
downloadQt-e60dbc9ca47a0e9371d619b7c5d24a4b3ec4fcd9.zip
Qt-e60dbc9ca47a0e9371d619b7c5d24a4b3ec4fcd9.tar.gz
Qt-e60dbc9ca47a0e9371d619b7c5d24a4b3ec4fcd9.tar.bz2
fix small leftovers from the Win9x removal in the code
LoadLibraryW -> LoadLibrary RegOpenKeyExW -> RegOpenKeyEx qdesktopservices_win.cpp: buffer size fixed in launchWebBrowser() Windows NT 4.0 version condition removed Merge-request: 1627 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'src/gui/text')
-rw-r--r--src/gui/text/qfontdatabase_win.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/text/qfontdatabase_win.cpp b/src/gui/text/qfontdatabase_win.cpp
index 6cde9ed..2fe1196 100644
--- a/src/gui/text/qfontdatabase_win.cpp
+++ b/src/gui/text/qfontdatabase_win.cpp
@@ -1101,7 +1101,6 @@ static void registerFont(QFontDatabasePrivate::ApplicationFont *fnt)
if (AddFontResource((LPCWSTR)fnt->fileName.utf16()) == 0)
return;
#else
- // supported from 2000 on, so no need to deal with the *A variant
PtrAddFontResourceExW ptrAddFontResourceExW = (PtrAddFontResourceExW)QLibrary::resolve(QLatin1String("gdi32"),
"AddFontResourceExW");
if (!ptrAddFontResourceExW