- return;
-
-
- /*QImage img;
- if (m_view.background_list->currentIndex() == 0) {
- // color background
- if (m_isPal)
- img = QImage(768, 576, QImage::Format_ARGB32);
- else
- img = QImage(720, 540, QImage::Format_ARGB32);
- img.fill(m_view.background_color->color().rgb());
- } else if (m_view.background_list->currentIndex() == 1) {
- img.load(m_view.background_image->url().path());
- if (m_isPal) {
- if (img.width() != 768 || img.height() != 576)
- img = img.scaled(768, 576, Qt::IgnoreAspectRatio, Qt::SmoothTransformation);
- } else {
- if (img.width() != 720 || img.height() != 540)
- img = img.scaled(720, 540, Qt::IgnoreAspectRatio, Qt::SmoothTransformation);
- }
- } else return;
- // Overlay Normal menu
- QImage menu(overlayMenu);
- QPainter p(&img);
- QRectF target(0, 0, img.width(), img.height());
- QRectF src(0, 0, menu.width(), menu.height());
- p.drawImage(target, menu, src);
- p.end();
- img.save(img1);*/