summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/interfaces/interfacesetupimp.h
Unidiff
Diffstat (limited to 'noncore/settings/networksettings/interfaces/interfacesetupimp.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/interfaces/interfacesetupimp.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/noncore/settings/networksettings/interfaces/interfacesetupimp.h b/noncore/settings/networksettings/interfaces/interfacesetupimp.h
index 3bbf34e..a88e190 100644
--- a/noncore/settings/networksettings/interfaces/interfacesetupimp.h
+++ b/noncore/settings/networksettings/interfaces/interfacesetupimp.h
@@ -12,11 +12,12 @@ class InterfaceSetupImp : public InterfaceSetup {
12 12
13public: 13public:
14 InterfaceSetupImp( QWidget* parent = 0, const char* name = 0, Interface *i=0, WFlags fl = 0); 14 InterfaceSetupImp( QWidget* parent = 0, const char* name = 0, Interface *i=0, WFlags fl = 0);
15 void saveChanges(); 15 bool saveChanges();
16 16
17public slots: 17public slots:
18 void setProfile(const QString &profile); 18 void setProfile(const QString &profile);
19 bool saveSettings(); 19 bool saveSettings();
20
20private: 21private:
21 Interfaces *interfaces; 22 Interfaces *interfaces;
22 Interface *interface; 23 Interface *interface;
@@ -43,8 +44,8 @@ private:
43 44
44protected slots: 45protected slots:
45 void accept(){ 46 void accept(){
46 interfaceSetup->saveChanges(); 47 if(interfaceSetup->saveChanges())
47 QDialog::accept(); 48 QDialog::accept();
48 }; 49 };
49 50
50}; 51};