Permalink
Browse files

Added Staging support

  • Loading branch information...
1 parent 518553b commit 46f1c8af6231b483ecc0fd6b06ef28f663c69164 @bmcdorman bmcdorman committed Jul 28, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 cbcui/src/Serial/SerialServer.cpp
@@ -230,11 +230,11 @@ void SerialServer::kissRequestFileCommand(const QByteArray& data)
fin.close();
}
-void SerialServer::kissLsCommand(const QByteArray& data)
+void SerialServer::kissLsCommand(const QByteArray& filename)
{
QByteArray data;
QDataStream stream(&data, QIODevice::WriteOnly);
- stream << QDir(QString(data)).entryList(QDir::Files);
+ stream << QDir(QString(filename)).entryList(QDir::Files);
sendCommand(CBC_LS_RESULT, data);
}

0 comments on commit 46f1c8a

Please sign in to comment.