aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-fm/ScrollDialog.h
diff options
context:
space:
mode:
authorlbartoletti <l.bartoletti@free.fr>2019-10-22 21:07:16 +0200
committerlbartoletti <l.bartoletti@free.fr>2019-10-22 21:07:16 +0200
commit7e07c3980607d8c6e394520ea2e5ea37cb8860b7 (patch)
tree7600ec29bfb937bcf2148a8a02772127fcd27013 /src-qt5/desktop-utils/lumina-fm/ScrollDialog.h
parentfix lumina-screenshot/MainUI.cpp (diff)
downloadlumina-7e07c3980607d8c6e394520ea2e5ea37cb8860b7.tar.gz
lumina-7e07c3980607d8c6e394520ea2e5ea37cb8860b7.tar.bz2
lumina-7e07c3980607d8c6e394520ea2e5ea37cb8860b7.zip
fontMetrics().width -> fontMetrics().horizontalAdvance
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm/ScrollDialog.h')
-rw-r--r--src-qt5/desktop-utils/lumina-fm/ScrollDialog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/ScrollDialog.h b/src-qt5/desktop-utils/lumina-fm/ScrollDialog.h
index eefe62f4..27f40c24 100644
--- a/src-qt5/desktop-utils/lumina-fm/ScrollDialog.h
+++ b/src-qt5/desktop-utils/lumina-fm/ScrollDialog.h
@@ -48,7 +48,7 @@ public:
void setText(QString txt){
label->setPlainText(txt);
- //this->resize( label->fontMetrics().width(txt.section("\n",0,0))+30, this->height());
+ //this->resize( label->fontMetrics().horizontalAdvance(txt.section("\n",0,0))+30, this->height());
}
};
bgstack15