QTfrontend/bgwidget.cpp
changeset 4560 5d6c7f88db73
parent 2948 3f21a9dc93d0
child 4976 088d40d8aba2
equal deleted inserted replaced
4559:194d5a7a3fd4 4560:5d6c7f88db73
   101     delete timerAnimation;
   101     delete timerAnimation;
   102 }
   102 }
   103 
   103 
   104 void BGWidget::paintEvent(QPaintEvent *event)
   104 void BGWidget::paintEvent(QPaintEvent *event)
   105 {
   105 {
       
   106     Q_UNUSED(event);
       
   107 
   106     QPainter p;
   108     QPainter p;
   107     p.begin(this);
   109     p.begin(this);
   108     //p.setRenderHint(QPainter::Antialiasing);
   110     //p.setRenderHint(QPainter::Antialiasing);
   109     for (int i = 0; i < SPRITE_MAX; i++)
   111     for (int i = 0; i < SPRITE_MAX; i++)
   110     {
   112     {