Commit a5d0749f authored by Michael Reeves's avatar Michael Reeves

scrat depriated kf5 function

parent d04bd51d
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
project(kdiff3)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(ECM_MIN_VERSION "1.0.0")
set(QT_MIN_VERSION "5.3.0")
set(KF5_MIN_VERSION "5.5.0")
set(KF5_MIN_VERSION "5.8.0")
find_package(ECM ${ECM_MIN_VERSION} CONFIG REQUIRED)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_SOURCE_DIR}/cmake)
......
......@@ -412,8 +412,8 @@ void FileAccess::setUdsEntry( const KIO::UDSEntry& e )
{
long acc = 0;
long fileType = 0;
QList< uint > fields = e.listFields();
for( QList< uint >::ConstIterator ei=fields.constBegin(); ei!=fields.constEnd(); ++ei )
QVector< uint > fields = e.fields();
for( QVector< uint >::ConstIterator ei=fields.constBegin(); ei!=fields.constEnd(); ++ei )
{
uint f = *ei;
switch( f )
......
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