Fix comment

This commit is contained in:
Aleix Pol 2018-06-08 20:23:18 +02:00
parent f171f76d74
commit 95dd01b818

View file

@ -228,7 +228,7 @@ int main(int argc, char** argv)
QString seq = parser.value("send-keys"); QString seq = parser.value("send-keys");
QDBusMessage msg = QDBusMessage::createMethodCall("org.kde.kdeconnect", "/modules/kdeconnect/devices/"+device+"/remotekeyboard", "org.kde.kdeconnect.device.remotekeyboard", "sendKeyPress"); QDBusMessage msg = QDBusMessage::createMethodCall("org.kde.kdeconnect", "/modules/kdeconnect/devices/"+device+"/remotekeyboard", "org.kde.kdeconnect.device.remotekeyboard", "sendKeyPress");
if (seq.trimmed() == QLatin1String("-")) { if (seq.trimmed() == QLatin1String("-")) {
// from file // from stdin
QFile in; QFile in;
if(in.open(stdin,QIODevice::ReadOnly | QIODevice::Unbuffered)) { if(in.open(stdin,QIODevice::ReadOnly | QIODevice::Unbuffered)) {
while (!in.atEnd()) { while (!in.atEnd()) {