[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdeadmin/knetworkconf/knetworkconf
From: Laurent Montel <montel () kde ! org>
Date: 2005-11-21 10:15:15
Message-ID: 1132568115.723988.16332.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 481976 by mlaurent:
Initialise netInfo and fix crash when we don't
specify type of distribution and when to create
a new profiles
(Perhaps it will better to disable all button
when we don't define a distribution)
M +3 -0 knetworkconf.cpp
--- branches/KDE/3.5/kdeadmin/knetworkconf/knetworkconf/knetworkconf.cpp \
#481975:481976 @@ -21,6 +21,7 @@
KNetworkConf::KNetworkConf(QWidget *parent, const char *name) : \
DCOPObject("KNetworkConfIface"), KNetworkConfDlg(parent, name) {
+ netInfo = 0L;
makeButtonsResizeable();
config = new KNetworkConfigParser();
klvCardList->setAllColumnsShowFocus(true);
@@ -990,6 +991,8 @@
void KNetworkConf::createProfileSlot()
{
+ if (!netInfo)
+ return;
bool ok;
QString newProfileName = KInputDialog::getText(i18n("Create New Network Profile"), \
i18n("Name of new profile:"),
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic