From 0e02ad100b0e96c77b6030853bd88a6d4706a776 Mon Sep 17 00:00:00 2001 From: Arno Date: Tue, 6 Dec 2016 11:18:07 +0100 Subject: Prettify ProgressDialog Make it fixed width, show only the filename from the source instead of the full path and elide text if necessary. --- progressdialog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'progressdialog.h') diff --git a/progressdialog.h b/progressdialog.h index 6aee406..d41a515 100644 --- a/progressdialog.h +++ b/progressdialog.h @@ -9,7 +9,7 @@ class ProgressDialog : public QDialog { Q_OBJECT public: ProgressDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); - void setLabelText(const QString &text) { mLabel->setText(text); } + void setLabelText(const QString &text); void setMaximum(int max) { mProgress->setMaximum(max); } public slots: -- cgit v1.2.3-70-g09d2