This commit is contained in:
DavidXanatos 2023-04-22 15:07:37 +02:00
parent fd62e1af49
commit 7b3706da3c
3 changed files with 9 additions and 0 deletions

View File

@ -25,6 +25,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- fixed memory corruption issue with Normal[File/Key]Path [#2588](https://github.com/sandboxie-plus/Sandboxie/issues/2588)
- fixed DPI scaling in the snapshot manager window [#782](https://github.com/sandboxie-plus/Sandboxie/issues/782)
- fixed issue with arm64 DialogProc hook [#2838](https://github.com/sandboxie-plus/Sandboxie/issues/2838)
- fixed Qt6 compatybility issue with 7z FS implementation [#2681](https://github.com/sandboxie-plus/Sandboxie/issues/2681)

View File

@ -59,7 +59,11 @@ C7zFileEngine::~C7zFileEngine()
//qDebug() << "g_7zFileEngineCount" << g_7zFileEngineCount;
}
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
bool C7zFileEngine::open(QIODevice::OpenMode openMode)
#else
bool C7zFileEngine::open(QIODevice::OpenMode openMode, std::optional<QFile::Permissions> permissions)
#endif
{
close();

View File

@ -17,7 +17,11 @@ protected:
public:
virtual ~C7zFileEngine();
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
virtual bool open(QIODevice::OpenMode openMode);
#else
virtual bool open(QIODevice::OpenMode openMode, std::optional<QFile::Permissions> permissions);
#endif
virtual bool close();
virtual bool flush();
virtual qint64 size() const;