Branch: master

c651cf80 2014-08-06 05:35:57 Michele Calgaro
Fixed some warning messages. This relates to bug 1981.
M src/settings.cpp
diff --git a/src/settings.cpp b/src/settings.cpp
index 016f085..80cf75f 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -404,7 +404,7 @@
 	// System Tray Icon:
 	TQGroupBox *gbSys = new TQGroupBox(3, Qt::Vertical, i18n("System Tray Icon"), this);
 	layout->addWidget(gbSys);
-	TQVBoxLayout *sysLay = new TQVBoxLayout(gbSys, /*margin=*/0, KDialogBase::spacingHint());
+	TQVBoxLayout *sysLay = new TQVBoxLayout(KDialogBase::spacingHint());
 
 	// Dock in System Tray:
 	m_useSystray = new TQCheckBox(i18n("&Dock in system tray"), gbSys);
@@ -550,7 +550,7 @@
 	hLay->addWidget(hLabel);
 	hLay->addStretch();
 
-	m_groupOnInsertionLineWidget = new TQWidget(behaviorBox);
+	m_groupOnInsertionLineWidget = new TQWidget(layout->mainWidget());
 	TQHBoxLayout *hLayV = new TQHBoxLayout(m_groupOnInsertionLineWidget, /*margin=*/0, KDialogBase::spacingHint());
 	m_groupOnInsertionLine = new TQCheckBox(i18n("&Group a new note when clicking on the right of the insertion line"), m_groupOnInsertionLineWidget);
 	TQPixmap pixmap(TDEGlobal::dirs()->findResource("data", "basket/images/insertion_help.png"));