diff options
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/server.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/server/src/server.cc b/server/src/server.cc index 0b2f6d6..c59abbf 100644 --- a/server/src/server.cc +++ b/server/src/server.cc @@ -79,17 +79,7 @@ static std::string error_box(std::string message) std::string errorbox = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" "<pracro version=\"1.0\">\n" -#if 0 " <error>" + message + "</error>\n" -#else - " <template name=\"error\">\n" - " <macro name=\"error\" static=\"true\">\n" - " <widgets caption=\"ERROR!\" layout=\"vbox\" name=\"error\">\n" - " <textedit name=\"errorlabel\" value=\"" + message + "\"/>\n" - " </widgets>\n" - " </macro>\n" - " </template>\n" -#endif "</pracro>\n"; return errorbox; } |