fixed: linux client crashes on file drop, even though drag and drop is disabled

This commit is contained in:
Nick Bolton 2014-02-06 18:39:12 +00:00
parent 9c3e9aab09
commit f149101d25
11 changed files with 72 additions and 62 deletions

View file

@ -105,7 +105,7 @@ public:
client (local screen) \p primaryClient. The client retains
ownership of \p primaryClient.
*/
CServer(CConfig& config, CPrimaryClient* primaryClient, CScreen* screen, IEventQueue* events);
CServer(CConfig& config, CPrimaryClient* primaryClient, CScreen* screen, IEventQueue* events, bool enableDragDrop);
~CServer();
#ifdef TEST_ENV
@ -472,6 +472,7 @@ private:
CThread* m_writeToDropDirThread;
CString m_dragFileExt;
bool m_ignoreFileTransfer;
bool m_enableDragDrop;
};
#endif