Fix comment
This commit is contained in:
parent
f171f76d74
commit
95dd01b818
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in a new issue