author | benmeyer <benmeyer> | 2002-10-16 21:00:21 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2002-10-16 21:00:21 (UTC) |
commit | 8834d3ee866fe9f0c093bf50fa78b4e0f5d2018c (patch) (side-by-side diff) | |
tree | 6b0468933071ea8a0398ca3aaeb18cf8e2c23d86 | |
parent | 47769211862108250127a0c5c413c38c530c8fd8 (diff) | |
download | opie-8834d3ee866fe9f0c093bf50fa78b4e0f5d2018c.zip opie-8834d3ee866fe9f0c093bf50fa78b4e0f5d2018c.tar.gz opie-8834d3ee866fe9f0c093bf50fa78b4e0f5d2018c.tar.bz2 |
fix segfault
-rw-r--r-- | noncore/net/networksetup/wlan/wlanimp.cpp | 4 | ||||
-rw-r--r-- | noncore/net/networksetup/wlan/wlanmodule.cpp | 4 | ||||
-rw-r--r-- | noncore/settings/networksettings/wlan/wlanimp.cpp | 4 | ||||
-rw-r--r-- | noncore/settings/networksettings/wlan/wlanmodule.cpp | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/noncore/net/networksetup/wlan/wlanimp.cpp b/noncore/net/networksetup/wlan/wlanimp.cpp index 60ffeeb..806643d 100644 --- a/noncore/net/networksetup/wlan/wlanimp.cpp +++ b/noncore/net/networksetup/wlan/wlanimp.cpp @@ -106,4 +106,4 @@ void WLANImp::accept() { - if ( writeConfig() ) - QDialog::accept(); + if ( writeConfig() ) + QDialog::accept(); } diff --git a/noncore/net/networksetup/wlan/wlanmodule.cpp b/noncore/net/networksetup/wlan/wlanmodule.cpp index 321fa11..98d2eb6 100644 --- a/noncore/net/networksetup/wlan/wlanmodule.cpp +++ b/noncore/net/networksetup/wlan/wlanmodule.cpp @@ -37,4 +37,4 @@ bool WLANModule::isOwner(Interface *i){ QWidget *WLANModule::configure(QTabWidget **tabWidget){ - Config cfg("wireless"); - WLANImp *wlanconfig = new WLANImp(cfg); + Config *cfg = new Config("wireless"); + WLANImp *wlanconfig = new WLANImp(*cfg); (*tabWidget) = wlanconfig->tabWidget; diff --git a/noncore/settings/networksettings/wlan/wlanimp.cpp b/noncore/settings/networksettings/wlan/wlanimp.cpp index 60ffeeb..806643d 100644 --- a/noncore/settings/networksettings/wlan/wlanimp.cpp +++ b/noncore/settings/networksettings/wlan/wlanimp.cpp @@ -106,4 +106,4 @@ void WLANImp::accept() { - if ( writeConfig() ) - QDialog::accept(); + if ( writeConfig() ) + QDialog::accept(); } diff --git a/noncore/settings/networksettings/wlan/wlanmodule.cpp b/noncore/settings/networksettings/wlan/wlanmodule.cpp index 321fa11..98d2eb6 100644 --- a/noncore/settings/networksettings/wlan/wlanmodule.cpp +++ b/noncore/settings/networksettings/wlan/wlanmodule.cpp @@ -37,4 +37,4 @@ bool WLANModule::isOwner(Interface *i){ QWidget *WLANModule::configure(QTabWidget **tabWidget){ - Config cfg("wireless"); - WLANImp *wlanconfig = new WLANImp(cfg); + Config *cfg = new Config("wireless"); + WLANImp *wlanconfig = new WLANImp(*cfg); (*tabWidget) = wlanconfig->tabWidget; |