[Gdcm-hackers] gdcm-git:Grassroots DICOM branch master updated. afc488f2913893ad2f97015574f3364edf3
Cross-platform DICOM implementation
Brought to you by:
malat
|
From: Mark R. <mm...@us...> - 2011-02-24 17:43:39
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Grassroots DICOM".
The branch, master has been updated
via afc488f2913893ad2f97015574f3364edf390c8b (commit)
from 97083dea213de6629b4dc0d18dce6876e8070f3b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://gdcm.git.sourceforge.net/git/gitweb.cgi?p=gdcm/gdcm;a=commit;h=afc488f2913893ad2f97015574f3364edf390c8b
commit afc488f2913893ad2f97015574f3364edf390c8b
Author: Mark Roden <mm...@gm...>
Date: Thu Feb 24 09:43:20 2011 -0800
added locale generator to gdcmscu help file.
diff --git a/Applications/Cxx/gdcmscu.cxx b/Applications/Cxx/gdcmscu.cxx
index 499122a..d556d15 100644
--- a/Applications/Cxx/gdcmscu.cxx
+++ b/Applications/Cxx/gdcmscu.cxx
@@ -90,7 +90,11 @@ void PrintHelp()
std::cout << " -h --help print help." << std::endl;
std::cout << " --queryhelp print query help." << std::endl;
std::cout << " -v --version print version." << std::endl;
-
+
+ std::locale l("");
+ std::string loc = l.name();
+ std::cout << std::endl;
+ std::cout << "Local character set: " << loc << std::endl;
}
void PrintQueryHelp(int inFindPatientRoot){
diff --git a/Examples/Cxx/ReadUTF8QtDir.cxx b/Examples/Cxx/ReadUTF8QtDir.cxx
index d639a92..221fc77 100644
--- a/Examples/Cxx/ReadUTF8QtDir.cxx
+++ b/Examples/Cxx/ReadUTF8QtDir.cxx
@@ -101,6 +101,7 @@ static int scanFolderQt(QDir const &dir, QStringList& files)
int main(int argc, char *argv[])
{
+
// very important:
QCoreApplication qCoreApp( argc , argv );
if( argc < 2 )
-----------------------------------------------------------------------
Summary of changes:
Applications/Cxx/gdcmscu.cxx | 6 +++++-
Examples/Cxx/ReadUTF8QtDir.cxx | 1 +
2 files changed, 6 insertions(+), 1 deletions(-)
hooks/post-receive
--
Grassroots DICOM
|