From: jean-pierre roux Date: Wed, 24 Jun 2009 08:57:07 +0000 (+0000) Subject: Actually set the bool in Setters X-Git-Tag: EED.02Oct2009~42 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=e4c4c1a9a170f8eb89f8e8642a510c4499465280;hp=9ae1b3a039da8e28aa41c6963744bfa86c382a35;p=creaImageIO.git Actually set the bool in Setters --- diff --git a/src2/creaImageIOPACSConnection.cpp b/src2/creaImageIOPACSConnection.cpp index 4d66c3c..ffa6571 100644 --- a/src2/creaImageIOPACSConnection.cpp +++ b/src2/creaImageIOPACSConnection.cpp @@ -1,10 +1,11 @@ + #include #include #include #include -#include +//#include -using boost::asio::ip::tcp; +//using boost::asio::ip::tcp; enum { max_length = 3086 }; using namespace std; @@ -12,6 +13,7 @@ namespace creaImageIO { PACSConnection::PACSConnection(std::string command) { + /* try { @@ -38,5 +40,10 @@ namespace creaImageIO { std::cerr << "Exception: " << e.what() << "\n"; } + */ } + } + + + diff --git a/src2/creaImageIOSQLiteTreeHandler.h b/src2/creaImageIOSQLiteTreeHandler.h index 6948675..0b102b5 100644 --- a/src2/creaImageIOSQLiteTreeHandler.h +++ b/src2/creaImageIOSQLiteTreeHandler.h @@ -265,7 +265,7 @@ namespace creaImageIO std::string mFileName; /// Is the DB writable ? bool mWritable; - void SetWritable(bool w) { mWritable; } + void SetWritable(bool w) { mWritable = w; } bool GetWritable() const { return mWritable; } bool mIsAdding; diff --git a/src2/creaImageIOWxEditFieldsPanel.cpp b/src2/creaImageIOWxEditFieldsPanel.cpp index 87d6a11..81d7ae0 100644 --- a/src2/creaImageIOWxEditFieldsPanel.cpp +++ b/src2/creaImageIOWxEditFieldsPanel.cpp @@ -85,6 +85,3 @@ END_EVENT_TABLE() } // EO namespace creaImageIO - - -