src/main.cpp in capybara-webkit-1.0.0 vs src/main.cpp in capybara-webkit-1.1.0
- old
+ new
@@ -1,6 +1,7 @@
#include "Server.h"
+#include "IgnoreDebugOutput.h"
#include <QApplication>
#include <iostream>
#ifdef Q_OS_UNIX
#include <unistd.h>
#endif
@@ -16,16 +17,16 @@
QApplication app(argc, argv);
app.setApplicationName("capybara-webkit");
app.setOrganizationName("thoughtbot, inc");
app.setOrganizationDomain("thoughtbot.com");
+ ignoreDebugOutput();
Server server(0);
if (server.start()) {
std::cout << "Capybara-webkit server started, listening on port: " << server.server_port() << std::endl;
return app.exec();
} else {
std::cerr << "Couldn't start capybara-webkit server" << std::endl;
return 1;
}
}
-