summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfontdatabase_mac.cpp
diff options
context:
space:
mode:
authorNorwegian Rock Cat <qt-info@nokia.com>2009-06-23 12:42:32 (GMT)
committerNorwegian Rock Cat <qt-info@nokia.com>2009-06-23 12:44:08 (GMT)
commitf65ed7b51a573dd8429feecc19c7abe8a0a36114 (patch)
tree5ce70bc3ca67573b4a3b07c13e1a8a8be520f4bd /src/gui/text/qfontdatabase_mac.cpp
parent3464a05a94c4e638d91b2151d6aad70f78ea3087 (diff)
downloadQt-f65ed7b51a573dd8429feecc19c7abe8a0a36114.zip
Qt-f65ed7b51a573dd8429feecc19c7abe8a0a36114.tar.gz
Qt-f65ed7b51a573dd8429feecc19c7abe8a0a36114.tar.bz2
Remove some warnings in the Cocoa build.
After discussing with some of the Objective-C people I have finally got a fair number of the warnings to disappear in both 10.5 and 10.6. I also took the opportunity to remove a bunch of other warnings. Reviewed by: Morten Sørvig
Diffstat (limited to 'src/gui/text/qfontdatabase_mac.cpp')
-rw-r--r--src/gui/text/qfontdatabase_mac.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/text/qfontdatabase_mac.cpp b/src/gui/text/qfontdatabase_mac.cpp
index f596449..2f6788f 100644
--- a/src/gui/text/qfontdatabase_mac.cpp
+++ b/src/gui/text/qfontdatabase_mac.cpp
@@ -51,6 +51,7 @@ QT_BEGIN_NAMESPACE
int qt_mac_pixelsize(const QFontDef &def, int dpi); //qfont_mac.cpp
int qt_mac_pointsize(const QFontDef &def, int dpi); //qfont_mac.cpp
+#ifndef QT_MAC_USE_COCOA
static void initWritingSystems(QtFontFamily *family, ATSFontRef atsFont)
{
ByteCount length = 0;
@@ -81,6 +82,7 @@ qDebug() << "first char" << hex << unicodeRange[0];
for (int i = 0; i < systems.count(); ++i)
family->writingSystems[systems.at(i)] = QtFontFamily::Supported;
}
+#endif
static void initializeDb()
{
n> Tk is a free and open-source, cross-platform widget toolkit that provides a library of basic elements of GUI widgets for building a graphical user interface (GUI) in many programming languages.
summaryrefslogtreecommitdiffstats
path: root/library
Commit message (Expand)AuthorAgeFilesLines
* Release branch for Tk 8.5.13.dgp2012-11-051-1/+1
* [Bug 3558535]: Factor out the filtered-sorted globbing code into one proceduredkf2012-08-241-61/+52
* partly backport from 8.6jan.nijtmans2012-08-092-41/+44
* Release candidate branch for Tk 8.5.12.dgp2012-07-101-1/+1
* [Bug 3534137]: $tcl_platform(platform) != [tk windowingsystem]jan.nijtmans2012-06-1011-16/+16
|\
| * [Bug 3534137]: $tcl_platform(platform) != [tk windowingsystem]jan.nijtmans2012-06-108-17/+17
* | If tk.dll loaded in cygwin, don't use the win32 file dialogsjan.nijtmans2012-05-051-58/+54
|\ \ | |/
| * [Bug 2768586]: Only do menu correction on Windows < Win7jan.nijtmans2012-05-051-73/+85
| |\
* | \ [Bug 2768586]: Menu posting problem on dual monitorsjan.nijtmans2012-05-041-9/+8
|\ \ \ | |/ /
| * | [Bug 2768586]: Menu posting problem on dual monitorsjan.nijtmans2012-05-041-9/+8
* | | [Bug 533519]: Window placement with multiple screensjan.nijtmans2012-05-021-4/+0
|\ \ \ | |/ /
* | | Use vroot size in stead of screen size for clipping window coordinates in ::t...jan.nijtmans2012-04-207-33/+18
|\ \ \ | | |/ | |/|
| * | Use vroot size in stead of screen size for clipping window coordinates in ::t...jan.nijtmans2012-04-207-34/+18
| |\ \ | | |/
| | * set [wm maxsize] as welljan.nijtmans2012-04-161-0/+1
| | * Fix bug 533519jan.nijtmans2012-04-167-38/+17
| |/
* | ttk::combobox::Press: Don't take focus in disabled state [Bug 2925561].jenglish2012-01-301-2/+5
* | [Bug 1945073]: Demo square.tcl cannot run; need package tktestjan.nijtmans2011-11-226-6/+6
|\ \ | |/
| * [Bug 1945073]: Demo square.tcl cannot run; need package tktestjan.nijtmans2011-11-226-6/+6
* | merge to releasedgp2011-10-311-1/+5
|\ \
| * | TIP 382 test suite update and Motif dialog implementation.dgp2011-10-311-1/+5
* | | Release candidate branch for Tk 8.5.11dgp2011-10-261-1/+1
|/ /
* | Fix up the implementation to account for shared options enumeration.dgp2011-10-171-1/+1
* | Revise the proposed "-nocomplain" option to "-confirmoverwrite"dgp2011-10-051-2/+2
* | Contributed implementation patch for TIP 382.dgp2011-10-041-1/+7
* | Merge to RC branchdgp2011-06-10