projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replaced std::pair<Cursor, Cursor> with CursorPair
[pulseview.git]
/
main.cpp
diff --git
a/main.cpp
b/main.cpp
index b72fc70c46b38320b25179b593ef0b5afc05f762..715dc526c2f07fce90eb9d111cf253acf57dc09a 100644
(file)
--- a/
main.cpp
+++ b/
main.cpp
@@
-30,7
+30,10
@@
#include <QtGui/QApplication>
#include <QDebug>
#include <QtGui/QApplication>
#include <QDebug>
+#ifdef ENABLE_SIGNALS
#include "signalhandler.h"
#include "signalhandler.h"
+#endif
+
#include "pv/mainwindow.h"
#include "config.h"
#include "pv/mainwindow.h"
#include "config.h"
@@
-141,6
+144,7
@@
int main(int argc, char *argv[])
pv::MainWindow w(open_file);
w.show();
pv::MainWindow w(open_file);
w.show();
+#ifdef ENABLE_SIGNALS
if(SignalHandler::prepare_signals()) {
SignalHandler *const handler =
new SignalHandler(&w);
if(SignalHandler::prepare_signals()) {
SignalHandler *const handler =
new SignalHandler(&w);
@@
-154,6
+158,7
@@
int main(int argc, char *argv[])
qWarning() <<
"Could not prepare signal handler.";
}
qWarning() <<
"Could not prepare signal handler.";
}
+#endif
// Run the application
ret = a.exec();
// Run the application
ret = a.exec();