forked from qt-creator/qt-creator
SSH: Declare signal parameter with full namespace.
Otherwise we can't sensibly declare slots with a matching parameter.
This commit is contained in:
@@ -59,7 +59,7 @@ namespace {
|
||||
staticInitMutex.lock();
|
||||
if (!staticInitializationsDone) {
|
||||
Botan::LibraryInitializer::initialize("thread_safe=true");
|
||||
qRegisterMetaType<SshError>("SshError");
|
||||
qRegisterMetaType<Core::SshError>("Core::SshError");
|
||||
qRegisterMetaType<Core::SftpJobId>("Core::SftpJobId");
|
||||
staticInitializationsDone = true;
|
||||
}
|
||||
@@ -109,8 +109,8 @@ SshConnection::SshConnection() : d(new Internal::SshConnectionPrivate(this))
|
||||
SIGNAL(dataAvailable(QString)), Qt::QueuedConnection);
|
||||
connect(d, SIGNAL(disconnected()), this, SIGNAL(disconnected()),
|
||||
Qt::QueuedConnection);
|
||||
connect(d, SIGNAL(error(SshError)), this, SIGNAL(error(SshError)),
|
||||
Qt::QueuedConnection);
|
||||
connect(d, SIGNAL(error(Core::SshError)), this,
|
||||
SIGNAL(error(Core::SshError)), Qt::QueuedConnection);
|
||||
}
|
||||
|
||||
void SshConnection::connectToHost(const SshConnectionParameters &serverInfo)
|
||||
|
||||
Reference in New Issue
Block a user