mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
use static keys list in QGraphicsSystemFactory::keys() when build with QT_NO_LIBRARY defined
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
6029990b42
commit
829cc408ff
1 changed files with 4 additions and 4 deletions
|
@ -90,11 +90,11 @@ QStringList QGraphicsSystemFactory::keys()
|
|||
{
|
||||
#ifndef QT_NO_LIBRARY
|
||||
QStringList list = graphicsloader()->keys();
|
||||
#else
|
||||
QStringList list;
|
||||
#endif
|
||||
if (!list.contains(QLatin1String("Raster")))
|
||||
if (!list.contains(QLatin1String("raster")))
|
||||
list << QLatin1String("raster");
|
||||
#else
|
||||
static QStringList list = QStringList() << QLatin1String("raster");
|
||||
#endif
|
||||
return list;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue