Compile with -qtnamespace

Mac has to work with -qtnamespace as well, and other files have gotten
this right, so follow their example.

Change-Id: I551e1843e8a0e82a82d1d5ea8c8cd5f20e6880fa
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
Sarah Smith 2012-03-06 11:51:22 +10:00 committed by Qt by Nokia
parent a47d974e19
commit 3ae2dce911

View File

@ -45,6 +45,8 @@
#include <Carbon/Carbon.h>
QT_BEGIN_NAMESPACE
QColor qt_mac_colorFromCGColor(CGColorRef cgcolor)
{
QColor pc;
@ -144,7 +146,6 @@ QPalette * qt_mac_createSystemPalette()
return palette;
}
struct QMacPaletteMap {
inline QMacPaletteMap(QPlatformTheme::Palette p, ThemeBrush a, ThemeBrush i) :
paletteRole(p), active(a), inactive(i) { }
@ -227,3 +228,5 @@ QHash<QPlatformTheme::Palette, QPalette*> qt_mac_createRolePalettes()
}
return palettes;
}
QT_END_NAMESPACE