Commit 971476be authored by Yuri Chornoivan's avatar Yuri Chornoivan

Fix minor EBN issues and typos

parent cb515bc1
......@@ -41,7 +41,7 @@ static const int autoHideTimeout = 500;
static const int initialAutoHideTimeout = 2000;
/**
* Denotes the verious states of the animation.
* Denotes the various states of the animation.
*/
enum AnimState {
Hiding,
......
......@@ -359,7 +359,7 @@ bool RdpView::start()
connect(m_process, SIGNAL(error(QProcess::ProcessError)), SLOT(processError(QProcess::ProcessError)));
connect(m_process, SIGNAL(readyReadStandardError()), SLOT(receivedStandardError()));
connect(m_process, SIGNAL(readyReadStandardOutput()), SLOT(receivedStandardOutput()));
connect(m_process, SIGNAL(finished(int, QProcess::ExitStatus)), SLOT(connectionClosed()));
connect(m_process, SIGNAL(finished(int,QProcess::ExitStatus)), SLOT(connectionClosed()));
connect(m_process, SIGNAL(started()), SLOT(connectionOpened()));
m_process->start(QStringLiteral("xfreerdp"), arguments);
......@@ -514,7 +514,7 @@ QString RdpView::keymapToXfreerdp(const QString &keyboadLayout)
}
// list of xfreerdp --kbd-list
// this is a mapping for rdesktop comptibilty (old settings will still work)
// this is a mapping for rdesktop compatibility (old settings will still work)
// needs to be completed (when not in message freeze; needs new localization)
QHash<QString, QString> RdpView::initKeymapToXfreerdp()
{
......
......@@ -80,7 +80,7 @@ private:
void connectionError(const QString &text,
const QString &caption); // called if xfreerdp quits with error
void connectionClosed(CloseType closeType); // Signals the connection closed if not quiting or it is forced
void connectionClosed(CloseType closeType); // Signals the connection closed if not quitting or it is forced
QString keymapToXfreerdp(const QString &keyboadLayout);
QHash<QString, QString> initKeymapToXfreerdp();
......
......@@ -183,7 +183,7 @@ void TabbedViewWidget::setTabText(int index, const QString &label)
m_model->emitDataChanged(index);
}
//This functinality is taken from KTabWidget for comatibility.
//This functionality is taken from KTabWidget for compatibility.
//KTabWidget has been moved to KdeLibs4Support and QTabWidget::tabBarDoubleClicked does not
//work on empty space after tabs,
bool TabbedViewWidget::isEmptyTabbarSpace(const QPoint &point) const
......
......@@ -252,7 +252,7 @@ rfbCredential *VncClientThread::credentialHandler(int credentialType)
cred->userCredential.password = strdup(password().toUtf8().constData());
break;
default:
qCritical(KRDC) << "credential request failed, unspported credentialType:" << credentialType;
qCritical(KRDC) << "credential request failed, unsupported credentialType:" << credentialType;
outputErrorMessage(i18n("VNC authentication type is not supported."));
break;
}
......
......@@ -23,8 +23,8 @@
**
****************************************************************************/
#ifndef VCNCSSHTUNNELTHREAD_H
#define VCNCSSHTUNNELTHREAD_H
#ifndef VNCSSHTUNNELTHREAD_H
#define VNCSSHTUNNELTHREAD_H
#include <QThread>
......
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