[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Tue Apr 27 19:30:45 CEST 2004
On April 27, 2004 13:17, Andrew Walker wrote:
> CVS commit by arwalker:
>
> Added the dynamic fit curve menu.
>
> --- kdeextragear-2/kst/kst/kstview.cpp #1.91:1.92
> @@ -126,4 +126,5 @@ KstView::KstView(KstApp *parent, const c
> _removeMenu = new KPopupMenu(this);
> _editCurveMenu = new KPopupMenu(this);
> + _fitCurveMenu = new KPopupMenu(this);
> _addMenuId = popupmenu->insertItem(i18n("&Add To Plot"), _addMenu);
> popupmenu->setItemEnabled(_addMenuId, false);
> @@ -142,4 +145,9 @@ KstView::~KstView() {
> delete MouseInfo;
> MouseInfo = 0L;
> +
> + delete _addMenu;
> + delete _removeMenu;
> + delete _editCurveMenu;
> + delete _fitCurveMenu;
> }
Those are parented widgets. There's no need to delete them. I'm also
wondering if there's any benefit to adding this stuff to HEAD (as opposed to
the stable branch) since we will be removing kstview altogether.
--
George Staikos
KDE Developer http://www.kde.org/
Staikos Computing Services Inc. http://www.staikos.net/
More information about the Kst
mailing list