I'm having some weird bugs with this program. I edited the configuration file, only leaving one widget in the layout, and the program complained that the definition for that widget didn't exist. Then I commented them all out but the last one, and it finds the definition fine. Weird. But that's not why I'm updating this. The timer for that single widget never fires at all. I call timer_->start() but it never fires.
Here's how I initialize the timer.
timer_->setSingleShot(false);
timer_->setInterval(update_->P2INT());
QObject::connect(timer_,
SIGNAL(timeout
()),
this,
SLOT(Update
()));
timer_ = new QTimer();
timer_->setSingleShot(false);
timer_->setInterval(update_->P2INT());
QObject::connect(timer_, SIGNAL(timeout()), this, SLOT(Update()));
To copy to clipboard, switch view to plain text mode
Bookmarks