Made some changes

This commit is contained in:
Stefan Luethje 1998-05-11 00:02:39 +00:00
parent 178d6a0892
commit 917d59fcc5
2 changed files with 7 additions and 29 deletions

View File

@ -20,6 +20,9 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Log$
* Revision 1.2 1998/05/10 23:40:09 luethje
* some changes
*
*/
#include <kmenubar.h>
@ -30,7 +33,7 @@
KMenu::KMenu(KConnection *newmainwin, bool logVisible) : KMenuBar(newmainwin)
{
QString HelpText;
char HelpText[300];
mainwin = newmainwin;
fileMenu = new QPopupMenu();
@ -53,9 +56,8 @@ KMenu::KMenu(KConnection *newmainwin, bool logVisible) : KMenuBar(newmainwin)
// helpMenu = new KPopupMenu();
Warum jetzt Segmentation fault ??
HelpText = KISDNLOG_NAME" "VERSION"\n\n"DEV_SL"\n"DEV_CW"\n\n";
HelpText += klocale->translate("monitoring tool for the isdnlog");
strcpy(HelpText,KISDNLOG_NAME" "VERSION"\n\n"DEV_SL"\n"DEV_CW"\n\n");
strcat(HelpText,klocale->translate("monitoring tool for the isdnlog"));
QPopupMenu *helpMenu = kapp->getHelpMenu(TRUE, HelpText);
insertItem(klocale->translate("&File"), fileMenu);

View File

@ -1,31 +1,7 @@
/* $Id$
*
* kisdnog for ISDN accounting for isdn4linux. (Report-module)
*
* Copyright 1996, 1997 by Stefan Luethje (luethje@sl-gw.lake.de)
* Claudia Weber (weber@sl-gw.lake.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Log$
*/
/****************************************************************************
** KLogo meta object code from reading C++ file 'kisdnlog.h'
**
** Created: Thu May 7 01:04:04 1998
** Created: Mon May 11 01:35:26 1998
** by: The Qt Meta Object Compiler ($Revision$)
**
** WARNING! All changes made in this file will be lost!