summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2014-08-06 19:35:57 +0900
committerMichele Calgaro <[email protected]>2014-08-06 19:35:57 +0900
commitc651cf806b9dda422fb6d2592ac13aa856968b3d (patch)
treeadd00da678d1d31da961346826278ecf2f9b6e20
parent5a2461ad96704cfcda05462bfd9b43102d72fb09 (diff)
downloadbasket-c651cf806b9dda422fb6d2592ac13aa856968b3d.tar.gz
basket-c651cf806b9dda422fb6d2592ac13aa856968b3d.zip
Fixed some warning messages. This relates to bug 1981.
-rw-r--r--src/settings.cpp4
1 files changed, 2 insertions, 2 deletions
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"));