Commit c3b8ed59 authored by Piyush Aggarwal's avatar Piyush Aggarwal 🎮
Browse files

Fix kio-extras build on Windows

Reviewers: vonreth, meven

Reviewed By: meven

Subscribers: sitter, meven, kde-frameworks-devel, kfm-devel

Tags: #dolphin, #frameworks

Differential Revision: https://phabricator.kde.org/D29461
parent 3c818248
......@@ -2,7 +2,7 @@ add_definitions(-DTRANSLATION_DOMAIN=\"kio5_sftp\")
include_directories(${LIBSSH_INCLUDE_DIR})
if(WIN32)
include_directories(${QT_MKSPECS_DIR}/default) # for SYMLINKS
include_directories(${QT_MKSPECS_DIR}/default) # for SYMLINKS
endif()
set(kio_sftp_SRCS kio_sftp.cpp)
......
......@@ -253,7 +253,7 @@ void SFTPInternal::log_callback(int priority, const char *function, const char *
Result SFTPInternal::init()
{
qCDebug(KIO_SFTP_LOG) << "pid = " << getpid();
qCDebug(KIO_SFTP_LOG) << "pid = " << qApp->applicationPid();
qCDebug(KIO_SFTP_LOG) << "debug = " << getenv("KIO_SFTP_LOG_VERBOSITY");
// Members are 'value initialized' to zero because of non-user defined ()!
......@@ -548,7 +548,7 @@ SFTPInternal::SFTPInternal(SFTPSlave *qptr)
}
SFTPInternal::~SFTPInternal() {
qCDebug(KIO_SFTP_LOG) << "pid = " << getpid();
qCDebug(KIO_SFTP_LOG) << "pid = " << qApp->applicationPid();
closeConnection();
delete mCallbacks;
......
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