fix compilation with namespaces
Reviewed-by: Bjørn Erik Nilsen (cherry picked from commit 7a1c29f101b95c9cc2cb53f8b80d231b5a994a9a)
This commit is contained in:
parent
4214ddc1d9
commit
1a1471718d
@ -150,28 +150,28 @@ static StrokeLine strokeLine(int strokeSelection)
|
||||
|
||||
switch (strokeSelection) {
|
||||
case Aliased|Solid|RegularDraw:
|
||||
stroke = &::drawLine<drawPixel, NoDasher>;
|
||||
stroke = &QT_PREPEND_NAMESPACE(drawLine)<drawPixel, NoDasher>;
|
||||
break;
|
||||
case Aliased|Solid|FastDraw:
|
||||
stroke = &::drawLine<drawPixelARGB32Opaque, NoDasher>;
|
||||
stroke = &QT_PREPEND_NAMESPACE(drawLine)<drawPixelARGB32Opaque, NoDasher>;
|
||||
break;
|
||||
case Aliased|Dashed|RegularDraw:
|
||||
stroke = &::drawLine<drawPixel, Dasher>;
|
||||
stroke = &QT_PREPEND_NAMESPACE(drawLine)<drawPixel, Dasher>;
|
||||
break;
|
||||
case Aliased|Dashed|FastDraw:
|
||||
stroke = &::drawLine<drawPixelARGB32Opaque, Dasher>;
|
||||
stroke = &QT_PREPEND_NAMESPACE(drawLine)<drawPixelARGB32Opaque, Dasher>;
|
||||
break;
|
||||
case AntiAliased|Solid|RegularDraw:
|
||||
stroke = &drawLineAA<drawPixel, NoDasher>;
|
||||
stroke = &QT_PREPEND_NAMESPACE(drawLineAA)<drawPixel, NoDasher>;
|
||||
break;
|
||||
case AntiAliased|Solid|FastDraw:
|
||||
stroke = &drawLineAA<drawPixelARGB32, NoDasher>;
|
||||
stroke = &QT_PREPEND_NAMESPACE(drawLineAA)<drawPixelARGB32, NoDasher>;
|
||||
break;
|
||||
case AntiAliased|Dashed|RegularDraw:
|
||||
stroke = &drawLineAA<drawPixel, Dasher>;
|
||||
stroke = &QT_PREPEND_NAMESPACE(drawLineAA)<drawPixel, Dasher>;
|
||||
break;
|
||||
case AntiAliased|Dashed|FastDraw:
|
||||
stroke = &drawLineAA<drawPixelARGB32, Dasher>;
|
||||
stroke = &QT_PREPEND_NAMESPACE(drawLineAA)<drawPixelARGB32, Dasher>;
|
||||
break;
|
||||
default:
|
||||
Q_ASSERT(false);
|
||||
|
Loading…
Reference in New Issue
Block a user