added gui to waf
diff --git a/gui/chronosharegui.cpp b/gui/chronosharegui.cpp
index 6faa80b..f252370 100644
--- a/gui/chronosharegui.cpp
+++ b/gui/chronosharegui.cpp
@@ -19,7 +19,6 @@
*/
#include "chronosharegui.h"
-#include "ui_chronosharegui.h"
ChronoShareGui::ChronoShareGui(QWidget *parent) :
QWidget(parent),
@@ -96,7 +95,7 @@
// create the "quit program" action
m_quitProgram = new QAction(tr("&Quit"), this);
- connect(m_quitProgram, SIGNAL(triggered()), qApp, SLOT(quit()));
+ connect(m_quitProgram, SIGNAL(triggered()), this, SLOT(quit()));
}
@@ -218,3 +217,9 @@
qDebug() << "Close Event.";
event->ignore(); // don't let the event propagate to the base class
}
+
+#if WAF
+#include "chronosharegui.moc"
+#include "chronosharegui.cpp.moc"
+#endif
+