1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

Fixed building (removed one unused slot)

This commit is contained in:
nowrep 2012-03-05 20:41:54 +01:00
parent 6878522c31
commit 94fdba5aba
3 changed files with 2 additions and 4 deletions

View File

@ -66,7 +66,7 @@ void PageScreen::createThumbnail()
QSize originalSize = page->viewportSize();
page->setViewportSize(page->mainFrame()->contentsSize());
m_pageImage = QImage(page->viewportSize(), QImage::Format_ARGB32);
m_pageImage = QImage(page->viewportSize(), QImage::Format_ARGB32_Premultiplied);
QPainter painter(&m_pageImage);
page->mainFrame()->render(&painter);
painter.end();

View File

@ -46,8 +46,6 @@ private slots:
void dialogAccepted();
void buttonClicked(QAbstractButton* b);
private:
void createPixmap();

View File

@ -118,7 +118,7 @@ void PageThumbnailer::createThumbnail(bool status)
m_title = m_page->mainFrame()->title();
QImage image(m_page->viewportSize(), QImage::Format_ARGB32);
QImage image(m_page->viewportSize(), QImage::Format_ARGB32_Premultiplied);
QPainter painter(&image);
m_page->mainFrame()->render(&painter);
painter.end();