equal
deleted
inserted
replaced
224 void Filmstrip::createEmptyImage() |
224 void Filmstrip::createEmptyImage() |
225 { |
225 { |
226 QRectF target = m_movie->movieClip(0); |
226 QRectF target = m_movie->movieClip(0); |
227 int w = target.width(); |
227 int w = target.width(); |
228 int h = target.height(); |
228 int h = target.height(); |
|
229 #ifndef BROWSER_LAYOUT_TENONE |
229 if (m_name.isEmpty()) |
230 if (m_name.isEmpty()) |
230 m_name = qtTrId("txt_browser_windows_new_window"); |
231 m_name = qtTrId("txt_browser_windows_new_window"); |
|
232 #endif |
231 m_img = QImage(w, h, QImage::Format_RGB32); |
233 m_img = QImage(w, h, QImage::Format_RGB32); |
232 |
234 |
233 QPainter painter(&m_img); |
235 QPainter painter(&m_img); |
234 painter.fillRect(0, 0, w, h, Qt::white); |
236 painter.fillRect(0, 0, w, h, Qt::white); |
235 /*QPoint p1(w*4/10, 0); |
237 /*QPoint p1(w*4/10, 0); |