Bug 374166

Summary: build failure on compiling kio_trash
Product: [Frameworks and Libraries] frameworks-kio Reporter: Ralf Habacker <ralf.habacker>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED FIXED    
Severity: normal CC: kdelibs-bugs
Priority: NOR    
Version: 5.29.0   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 5.30.0
Bug Depends on:    
Bug Blocks: 373932    

Description Ralf Habacker 2016-12-26 14:04:03 UTC
frameworks kio build fails on compiling kio_trash. The compiler error is: 

/home/abuild/rpmbuild/BUILD/kio-5.29.0/src/ioslaves/trash/kio_trash_win.cpp: In member function 'virtual void TrashProtocol::rename(const QUrl&, const QUrl&, KIO::JobFlags)':
/home/abuild/rpmbuild/BUILD/kio-5.29.0/src/ioslaves/trash/kio_trash_win.cpp:224:13: error: 'KIO_TRASH' was not declared in this scope
qCDebug(KIO_TRASH) << "TrashProtocol::rename(): old=" << oldURL << " new=" << newURL << " overwrite=" << (flags & KIO::Overwrite);

full build log is located at https://build.opensuse.org/package/live_build_log/home:rhabacker:branches:windows:mingw:win32:KF529/mingw32-kio/openSUSE_Leap_42.1/x86_64
Comment 1 David Faure 2016-12-26 17:41:54 UTC
Git commit bd9d605f5f4f6f41b9d1ba3b488bd706505e5dad by David Faure.
Committed on 26/12/2016 at 17:41.
Pushed by dfaure into branch 'master'.

add missing include, to hopefully fix compilation on Windows

M  +1    -1    src/ioslaves/trash/kio_trash_win.cpp

https://commits.kde.org/kio/bd9d605f5f4f6f41b9d1ba3b488bd706505e5dad