aboutsummaryrefslogtreecommitdiff
path: root/afdnotebook.cc
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2020-09-12 02:21:04 +0200
committerJavier <dev.git@javispedro.com>2020-09-12 02:21:04 +0200
commitc2eca928c5a7be0444fcb5c41ffe77b557714575 (patch)
treeaf7d2ed9e2b018a4ea95329bb944853f41cf088f /afdnotebook.cc
parent20de09ffbaa00ab3adf91e49b847eb0061315b1e (diff)
downloadscribiu-c2eca928c5a7be0444fcb5c41ffe77b557714575.tar.gz
scribiu-c2eca928c5a7be0444fcb5c41ffe77b557714575.zip
when zooming out, place pages on a grid layout
Diffstat (limited to 'afdnotebook.cc')
-rw-r--r--afdnotebook.cc2
1 files changed, 2 insertions, 0 deletions
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;