From 0153e8fa499b7bbdd712339bfb3921ead15a37a2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Oct 2012 02:23:16 +0300 Subject: Add palette inheritance to label class. --- src/gui/connectiondialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/connectiondialog.cpp') diff --git a/src/gui/connectiondialog.cpp b/src/gui/connectiondialog.cpp index 3206fefc6..00c5a58f2 100644 --- a/src/gui/connectiondialog.cpp +++ b/src/gui/connectiondialog.cpp @@ -44,7 +44,7 @@ ConnectionDialog::ConnectionDialog(const std::string &text, setMinWidth(0); ProgressIndicator *const progressIndicator = new ProgressIndicator; - Label *const label = new Label(text); + Label *const label = new Label(this, text); Button *const cancelButton = new Button( this, _("Cancel"), "cancelButton", this); -- cgit v1.2.3-60-g2f50