diff --git a/src/gui/src/MainWindow.h b/src/gui/src/MainWindow.h index 908b488f..80b1dbb4 100644 --- a/src/gui/src/MainWindow.h +++ b/src/gui/src/MainWindow.h @@ -69,7 +69,8 @@ class MainWindow : public QMainWindow, public Ui::MainWindowBase { synergyDisconnected, synergyConnecting, - synergyConnected + synergyConnected, + synergyTransfering }; enum qSynergyType diff --git a/src/lib/client/ServerProxy.cpp b/src/lib/client/ServerProxy.cpp index c461d5e3..bf5fd4d8 100644 --- a/src/lib/client/ServerProxy.cpp +++ b/src/lib/client/ServerProxy.cpp @@ -866,7 +866,6 @@ ServerProxy::fileChunkReceived() } else if (result == kStart) { String filename = m_client->getDragFileList().at(0).getFilename(); - LOG((CLOG_INFO "receiving file: %s", filename.c_str())); } } diff --git a/src/lib/synergy/DropHelper.cpp b/src/lib/synergy/DropHelper.cpp index 1a3f2553..c8664a14 100644 --- a/src/lib/synergy/DropHelper.cpp +++ b/src/lib/synergy/DropHelper.cpp @@ -37,12 +37,13 @@ DropHelper::writeToDir(const String& destination, DragFileList& fileList, String dropTarget.append(fileList.at(0).getFilename()); file.open(dropTarget.c_str(), std::ios::out | std::ios::binary); if (!file.is_open()) { - LOG((CLOG_DEBUG "drop file failed: can not open %s", dropTarget.c_str())); + LOG((CLOG_ERR "drop file failed: can not open %s", dropTarget.c_str())); } file.write(data.c_str(), data.size()); file.close(); + fileList.clear(); } else {