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 @@ GeneralPage::GeneralPage(TQWidget * parent, const char * name) // 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 @@ BasketsPage::BasketsPage(TQWidget * parent, const char * name) 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"));