mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-12 20:51:17 +00:00
Make it compile.
It even works more or less. svn path=/trunk/KDE/kdegraphics/kdvi/; revision=443779
This commit is contained in:
parent
29ce6a405f
commit
00ad43d066
|
@ -313,7 +313,8 @@ glyph *TeXFont_PK::getGlyph(Q_UINT16 ch, bool generateCharacterPixmap, QColor co
|
|||
}
|
||||
|
||||
g->shrunkenCharacter.convertFromImage(im32,0);
|
||||
g->shrunkenCharacter.setOptimization(QPixmap::BestOptim);
|
||||
//FIXME: KDE4 porting
|
||||
//g->shrunkenCharacter.setOptimization(QPixmap::BestOptim);
|
||||
}
|
||||
return g;
|
||||
}
|
||||
|
|
2
main.cpp
2
main.cpp
|
@ -99,7 +99,7 @@ int main(int argc, char** argv)
|
|||
if ((*it).find("kviewshell") == 0)
|
||||
{
|
||||
QByteArray data, replyData;
|
||||
Q3CString replyType;
|
||||
DCOPCString replyType;
|
||||
QDataStream arg(&data, QIODevice::WriteOnly);
|
||||
|
||||
arg.setVersion(QDataStream::Qt_3_1);
|
||||
|
|
2
psgs.h
2
psgs.h
|
@ -92,7 +92,7 @@ private:
|
|||
// device can be found, something is badly wrong. In that case,
|
||||
// "gsDevice" is set to an empty string, and
|
||||
// gs_generate_graphics_file will return immediately.
|
||||
Q3ValueListIterator<QString> gsDevice;
|
||||
QList<QString>::iterator gsDevice;
|
||||
|
||||
// A list of known devices, set by the constructor. This includes
|
||||
// "png256", "pnm". If a device is found to not work, its name is
|
||||
|
|
Loading…
Reference in a new issue