|
|
@ -76,7 +76,7 @@ void CalWidget::recreate()
|
|
|
|
pix_->resize(params.width,params.height);
|
|
|
|
pix_->resize(params.width,params.height);
|
|
|
|
|
|
|
|
|
|
|
|
if (!calPainter_)
|
|
|
|
if (!calPainter_)
|
|
|
|
calPainter_ = new CalPainter(TQT_TQPAINTDEVICE(pix_));
|
|
|
|
calPainter_ = new CalPainter(pix_);
|
|
|
|
|
|
|
|
|
|
|
|
calPainter_->setYearMonth(TDEGlobal::locale()->calendar()->year(TQDate::currentDate()),
|
|
|
|
calPainter_->setYearMonth(TDEGlobal::locale()->calendar()->year(TQDate::currentDate()),
|
|
|
|
TDEGlobal::locale()->calendar()->month(TQDate::currentDate()));
|
|
|
|
TDEGlobal::locale()->calendar()->month(TQDate::currentDate()));
|
|
|
|