mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-07-16 03:24:17 -04:00
Compare commits
7 Commits
v5.8.0
...
v5.12.0-rc
Author | SHA1 | Date | |
---|---|---|---|
df707db404 | |||
e1bcc3b033 | |||
8c8db0fcd2 | |||
52c7839741 | |||
3dadfa564d | |||
0414b32297 | |||
55af097749 |
@ -2,7 +2,11 @@ cmake_minimum_required(VERSION 2.8.12)
|
||||
|
||||
project(KImageFormats)
|
||||
|
||||
find_package(ECM 1.8.0 REQUIRED NO_MODULE)
|
||||
include(FeatureSummary)
|
||||
find_package(ECM 5.12.0 NO_MODULE)
|
||||
set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://projects.kde.org/projects/kdesupport/extra-cmake-modules")
|
||||
feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES)
|
||||
|
||||
|
||||
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
|
||||
|
||||
@ -10,7 +14,7 @@ include(KDEInstallDirs)
|
||||
include(KDEFrameworkCompilerSettings)
|
||||
include(KDECMakeSettings)
|
||||
|
||||
include(FeatureSummary)
|
||||
|
||||
include(CheckIncludeFiles)
|
||||
|
||||
set(REQUIRED_QT_VERSION 5.2.0)
|
||||
|
@ -219,7 +219,7 @@ bool RASHandler::canRead(QIODevice *device)
|
||||
}
|
||||
|
||||
if (device->isSequential()) {
|
||||
qWarning("Reading ras files from sequential devices not supported");
|
||||
// qWarning("Reading ras files from sequential devices not supported");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -86,7 +86,7 @@ static inline bool decodeRLEData(RLEVariant variant,
|
||||
stream >> count1;
|
||||
|
||||
if (count1 >= 128u) {
|
||||
unsigned length;
|
||||
unsigned length = 0;
|
||||
if (variant == RLEVariant::PIC) {
|
||||
if (count1 == 128u) {
|
||||
// If the value is exactly 128, it means that it is more than
|
||||
|
Reference in New Issue
Block a user