
Untitled
By: a guest on
May 9th, 2012 | syntax:
None | size: 0.45 KB | hits: 16 | expires: Never
Segfault on destructor
#include <QWidget>
class VLocationDropDowns : public QWidget
{
Q_OBJECT
public:
VLocationDropDowns(QString activeText, QWidget *parent = 0);
~VLocationDropDowns();
};
VLocationDropDowns::VLocationDropDowns(QString activeText, QWidget *parent) :
QWidget()//I've also had this as QWidget(parent, Qt::Widget)
{
}
VLocationDropDowns::~VLocationDropDowns()
{
}
locationDropDowns = new VLocationDropDowns(randomString, this);