Commit 8612c882 authored by Michael Reeves's avatar Michael Reeves

fix ebn issues

parent 460b0562
......@@ -36,7 +36,7 @@
class OptionItemBase
{
public:
OptionItemBase(const QString& saveName)
explicit OptionItemBase(const QString& saveName)
{
m_saveName = saveName;
m_bPreserved = false;
......
/***************************************************************************
* Copyright (C) 2003-2007 by Joachim Eibl <joachim.eibl at gmx.de> *
* Copyright (C) 2018 Michael Reeves reeves.87@gmail.com *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
***************************************************************************/
/* Features of class SourceData:
- Read a file (from the given URL) or accept data via a string.
- Allocate and free buffers as necessary.
......
......@@ -475,7 +475,7 @@ bool FileAccess::readFile(void* pDestBuffer, qint64 maxLength)
if(isLocal() || !m_localCopy.isEmpty())
{
if(open(QIODevice::ReadOnly))
if(open(QIODevice::ReadOnly))//krazy:exclude=syscalls
return interruptableReadFile( pDestBuffer, maxLength); // maxLength == f.read( (char*)pDestBuffer, maxLength );
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment