aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-fm/ScrollDialog.h
diff options
context:
space:
mode:
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