diff options
Diffstat (limited to 'src/resourcemgr.cpp')
-rw-r--r-- | src/resourcemgr.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/resourcemgr.cpp b/src/resourcemgr.cpp index 4ba3388..6d2946c 100644 --- a/src/resourcemgr.cpp +++ b/src/resourcemgr.cpp @@ -150,6 +150,18 @@ bool ResourceMgr::copyResourceAs(const char *name,const char *targetDir,const ch } } break; + case Resource::SVG: + { + QFile f(pathName); + if (f.open(IO_WriteOnly)) + { + QCString buf(res->size+1); + memcpy(buf.rawData(),res->data,res->size); + FTextStream t(&f); + t << replaceColorMarkers(buf); + return TRUE; + } + } } } else |