Created a class MainApplication to handle notify()

This commit is contained in:
Tats
2014-01-23 23:24:20 -05:00
parent 18f6160507
commit a539023a30
4 changed files with 87 additions and 2 deletions
+3 -2
View File
@@ -1,18 +1,19 @@
// NOTE: To run, it is recommended not to be in Compiz or Beryl, they have shown some instability.
#include <iostream>
#include <QApplication>
#include <QTranslator>
#include <QtGui>
#include "Common.h"
#include "MainWindow.h"
#include "MainApplication.h"
#include <iostream>
int main(int argc, char *argv[])
{
// TODO: avoid segfaults when OSC port is busy
QApplication app(argc, argv);
MainApplication app(argc, argv);
if (! QGLFormat::hasOpenGL())
{