mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kimgio: theoretical implementation of oj_skip_callback()
there is no documentation on what it is supposed to do so I will guess Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
66b8e20bdb
commit
23fd8af700
1 changed files with 3 additions and 4 deletions
|
@ -96,10 +96,9 @@ static OPJ_BOOL oj_seek_callback(OPJ_OFF_T size, void *data)
|
|||
|
||||
static OPJ_OFF_T oj_skip_callback(OPJ_OFF_T size, void *data)
|
||||
{
|
||||
kWarning() << "Not implemented";
|
||||
Q_UNUSED(size);
|
||||
Q_UNUSED(data);
|
||||
return 0;
|
||||
QIODevice* device = static_cast<QIODevice*>(data);
|
||||
device->seek(device->pos() + size);
|
||||
return device->pos();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue