Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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);
Advertisement
Add Comment
Please, Sign In to add comment