#include <QtGui/QApplication>
#include <QDebug>
+#ifdef ENABLE_SIGNALS
#include "signalhandler.h"
+#endif
+
#include "pv/mainwindow.h"
#include "config.h"
pv::MainWindow w(open_file);
w.show();
+#ifdef ENABLE_SIGNALS
if(SignalHandler::prepare_signals()) {
SignalHandler *const handler =
new SignalHandler(&w);
qWarning() <<
"Could not prepare signal handler.";
}
+#endif
// Run the application
ret = a.exec();