mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-13 11:22:24 +00:00
minor beautification
svn path=/trunk/kdegraphics/kdvi/; revision=124411
This commit is contained in:
parent
19562a2e67
commit
e90e04d22d
|
@ -227,10 +227,10 @@ void dviWindow::epsf_special(QString cp)
|
|||
foreGroundPaint.setPen(Qt::black);
|
||||
foreGroundPaint.drawRoundRect(bbox, 2, 2);
|
||||
if (QFile::exists(EPSfilename))
|
||||
foreGroundPaint.drawText (bbox, (int)(Qt::AlignCenter), EPSfilename, -1, &bbox);
|
||||
foreGroundPaint.drawText (bbox, (int)(Qt::AlignCenter), EPSfilename, -1);
|
||||
else
|
||||
foreGroundPaint.drawText (bbox, (int)(Qt::AlignCenter),
|
||||
QString(i18n("File not found:\n %1")).arg(EPSfilename), -1, &bbox);
|
||||
QString(i18n("File not found:\n %1")).arg(EPSfilename), -1);
|
||||
foreGroundPaint.restore();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue