Branch: master

edc6e06a 2014-07-06 06:13:20 Michele Calgaro
Fixed cause of warning messages that appeared when launching KPilot the first time. This resolves bug 1870.
M kpilot/conduitConfigDialog.cc
diff --git a/kpilot/conduitConfigDialog.cc b/kpilot/conduitConfigDialog.cc
index 5fd8494..3b86019 100644
--- a/kpilot/conduitConfigDialog.cc
+++ b/kpilot/conduitConfigDialog.cc
@@ -232,14 +232,14 @@
 	mainLayout->addWidget(fConduitList);
 
 	// Create the title
-	TQVBoxLayout *vbox = new TQVBoxLayout(this, 0, KDialog::spacingHint());
+	TQVBoxLayout *vbox = new TQVBoxLayout(NULL, 0, KDialog::spacingHint());
 	// String below is just to make space; no need to translate.
 	fTitleText = new TQLabel(CSL1("Conduit Setup - Addressbook"), this);
 	TQFont titleFont(fTitleText->font());
 	titleFont.setBold(true);
 	fTitleText->setFont(titleFont);
 	vbox->addWidget(fTitleText, 0, AlignLeft);
-	vbox->addWidget(new KSeparator(TQFrame::HLine|TQFrame::Plain, this));
+	vbox->addWidget(new KSeparator(TQFrame::HLine, this));
 
 	// Right hand column
 	fStack = new TQWidgetStack(this, "RightPart");