Mercurial > hg > classical
comparison testapp/Loader.cpp @ 49:a6a71d1c7eb7
* build fixes
author | Chris Cannam |
---|---|
date | Mon, 28 Mar 2011 12:45:26 +0100 |
parents | 07efb25d24d6 |
children | c83cc68483ea |
comparison
equal
deleted
inserted
replaced
48:5f23d5b29aaf | 49:a6a71d1c7eb7 |
---|---|
64 // QObject *root = loader->loadAllObjects(0); | 64 // QObject *root = loader->loadAllObjects(0); |
65 | 65 |
66 QObjectList objects; | 66 QObjectList objects; |
67 try { | 67 try { |
68 objects = loader->loadAll(); | 68 objects = loader->loadAll(); |
69 // std::cerr << "Loaded " << objects.size() << " objects" << std::endl; | |
69 } catch (const std::exception &e) { | 70 } catch (const std::exception &e) { |
70 std::cerr << "mapping failed: " << e.what() << std::endl; | 71 std::cerr << "mapping failed: " << e.what() << std::endl; |
71 return 1; | 72 return 1; |
72 } | 73 } |
73 | 74 |