mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
Fixed building (removed one unused slot)
This commit is contained in:
parent
6878522c31
commit
94fdba5aba
@ -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();
|
||||
|
@ -46,8 +46,6 @@ private slots:
|
||||
|
||||
void dialogAccepted();
|
||||
|
||||
void buttonClicked(QAbstractButton* b);
|
||||
|
||||
private:
|
||||
void createPixmap();
|
||||
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user