More ScrollArea tests #2

This commit is contained in:
Mark Watkins 2011-08-08 16:45:26 +10:00
parent 8591ed126f
commit cef79ea009

View File

@ -42,14 +42,14 @@ MyScrollArea::~MyScrollArea()
void MyScrollArea::scrollContentsBy(int dx, int dy) void MyScrollArea::scrollContentsBy(int dx, int dy)
{ {
QScrollArea::scrollContentsBy(dx,dy); QScrollArea::scrollContentsBy(dx,dy);
// m_daily->RedrawGraphs(); m_daily->RedrawGraphs();
#ifdef Q_WS_MAC #ifdef Q_WS_MAC
if (timer->isActive()) timer->stop(); /* if (timer->isActive()) timer->stop();
timer->setSingleShot(true); timer->setSingleShot(true);
timer->setInterval(250); timer->setInterval(250);
connect(timer,SIGNAL(timeout()),SLOT(UpdateGraphs())); connect(timer,SIGNAL(timeout()),SLOT(UpdateGraphs()));
timer->start(); timer->start();
m_time.start(); m_time.start();*/
//m_daily->RedrawGraphs(); //m_daily->RedrawGraphs();
#endif #endif
} }