Added: Unbuffered flag check.
This commit is contained in:
parent
6c1aaee5c6
commit
230a4f5aa3
1 changed files with 4 additions and 0 deletions
|
@ -140,6 +140,10 @@ bool QuaZipFile::open(OpenMode mode, int *method, int *level, bool raw, const ch
|
|||
qWarning("QuaZipFile::open(): already opened");
|
||||
return false;
|
||||
}
|
||||
if(mode&Unbuffered) {
|
||||
qWarning("QuaZipFile::open(): Unbuffered mode is not supported");
|
||||
return false;
|
||||
}
|
||||
if((mode&ReadOnly)&&!(mode&WriteOnly)) {
|
||||
if(internal) {
|
||||
if(!zip->open(QuaZip::mdUnzip)) {
|
||||
|
|
Loading…
Reference in a new issue