@@ -14,30 +14,24 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with serialplot. If not, see <http://www.gnu.org/licenses/>.
*/
#include "mainwindow.h"
#include <QApplication>
#include <QtGlobal>
#include "version.h"
// TEST CODE
#include "framebuffer.h"
// #include <QtDebug>
#include <qwt_plot.h>
#include <qwt_plot_curve.h>
MainWindow* pMainWindow;
void messageHandler(QtMsgType type, const QMessageLogContext &context,
const QString &msg)
{
// TODO: don't call MainWindow::messageHandler if window is destroyed
pMainWindow->messageHandler(type, context, msg);
}
int main(int argc, char *argv[])
QApplication a(argc, argv);
Status change: