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:
parent
6878522c31
commit
94fdba5aba
@ -66,7 +66,7 @@ void PageScreen::createThumbnail()
|
|||||||
QSize originalSize = page->viewportSize();
|
QSize originalSize = page->viewportSize();
|
||||||
page->setViewportSize(page->mainFrame()->contentsSize());
|
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);
|
QPainter painter(&m_pageImage);
|
||||||
page->mainFrame()->render(&painter);
|
page->mainFrame()->render(&painter);
|
||||||
painter.end();
|
painter.end();
|
||||||
|
@ -46,8 +46,6 @@ private slots:
|
|||||||
|
|
||||||
void dialogAccepted();
|
void dialogAccepted();
|
||||||
|
|
||||||
void buttonClicked(QAbstractButton* b);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void createPixmap();
|
void createPixmap();
|
||||||
|
|
||||||
|
@ -118,7 +118,7 @@ void PageThumbnailer::createThumbnail(bool status)
|
|||||||
|
|
||||||
m_title = m_page->mainFrame()->title();
|
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);
|
QPainter painter(&image);
|
||||||
m_page->mainFrame()->render(&painter);
|
m_page->mainFrame()->render(&painter);
|
||||||
painter.end();
|
painter.end();
|
||||||
|
Loading…
Reference in New Issue
Block a user