tools/templates/main.cpp
author Zorg <zorgiepoo@gmail.com>
Tue, 05 Apr 2011 16:15:20 -0400
changeset 5108 b7483e29ea8c
parent 359 59fbfc65fbda
permissions -rw-r--r--
Fixing issue #211. Check to see if m_currPath is NULL before doing anything in mouseReleaseEvent. Multiple mouse release events can occur after a mouse press and before the next mouse press if you mouse-click really fast.

#include <QApplication>

#include "mainform.h"

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    MyWindow *mainWin = new MyWindow;
    mainWin->show();
    return app.exec();
}