diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-03-30 17:44:20 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-03-30 17:44:20 +0100 |
commit | 4b7414b3f6869f2bdeb097e4f997498bae9f0aee (patch) | |
tree | 53e9741d7d40f1ff6f77d47fc308b18168dca330 /plugingui/resource.cc | |
parent | a1fba9ba11a13f94c524f2ac78206b3fdfb3be74 (diff) |
New box rendering of all widgets. Minor tweaks still missing.
Diffstat (limited to 'plugingui/resource.cc')
-rw-r--r-- | plugingui/resource.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugingui/resource.cc b/plugingui/resource.cc index a80c490..d8dc35c 100644 --- a/plugingui/resource.cc +++ b/plugingui/resource.cc @@ -27,7 +27,7 @@ #include "resource.h" #include <stdio.h> - +#include <hugin.hpp> #include "resource_data.h" GUI::Resource::Resource(std::string name) @@ -52,7 +52,10 @@ GUI::Resource::Resource(std::string name) } // We did not find the named resource. - if(i_data == NULL) return; + if(i_data == NULL) { + ERR(rc, "Could not find '%s'\n", name.c_str()); + return; + } is_internal = true; } else { |