From c2eca928c5a7be0444fcb5c41ffe77b557714575 Mon Sep 17 00:00:00 2001 From: Javier Date: Sat, 12 Sep 2020 02:21:04 +0200 Subject: when zooming out, place pages on a grid layout --- afdnotebook.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'afdnotebook.cc') diff --git a/afdnotebook.cc b/afdnotebook.cc index c4a4964..913986e 100644 --- a/afdnotebook.cc +++ b/afdnotebook.cc @@ -121,6 +121,8 @@ QPixmap AfdNotebook::getPageBackground(int page) const QString file = QString("userdata/lsac_data/%1.png").arg(p.gfx->basename); QImage img; + qDebug() << "Loading page background " << file; + if (!img.load(_dir.filePath(file), "PNG")) { qWarning() << "Could not load background file:" << _dir.absoluteFilePath(file); return pix; -- cgit v1.2.3