SSH: Fix tests.

Enable compilation with Qt 5 and remove a warning.

Change-Id: Ieed6ef829551122f37b4ce052288f8e0f76c9716
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
This commit is contained in:
Christian Kandeler
2012-09-26 10:58:46 +02:00
parent 021436856f
commit a49e1e0104
2 changed files with 2 additions and 1 deletions
@@ -71,10 +71,10 @@ private:
const QSsh::SshConnectionParameters m_sshParams;
QTimer * const m_timeoutTimer;
QTextStream *m_textStream;
QSsh::SshConnection *m_sshConnection;
QSsh::SshRemoteProcessRunner * const m_remoteRunner;
QSsh::SshRemoteProcess::Ptr m_catProcess;
QSsh::SshRemoteProcess::Ptr m_echoProcess;
QSsh::SshConnection *m_sshConnection;
QByteArray m_remoteStdout;
QByteArray m_remoteStderr;
QByteArray m_remoteData;
@@ -2,6 +2,7 @@ include(../ssh.pri)
include(../../../../src/shared/modeltest/modeltest.pri)
QT += gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET=sftpfsmodel
SOURCES+=main.cpp window.cpp