diff options
author | Angelo Naselli <anaselli@linux.it> | 2015-12-27 16:01:31 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2015-12-27 16:01:31 +0100 |
commit | 4edbe312bce717740fb4e5d27861c130c3a47a80 (patch) | |
tree | 9aff94e61c8de8c019a9ada3d44cc2a970d9d21f /lib | |
parent | 1fc01b214e6e0276ede280feff1798d02daf9bd1 (diff) | |
download | manatools-4edbe312bce717740fb4e5d27861c130c3a47a80.tar manatools-4edbe312bce717740fb4e5d27861c130c3a47a80.tar.gz manatools-4edbe312bce717740fb4e5d27861c130c3a47a80.tar.bz2 manatools-4edbe312bce717740fb4e5d27861c130c3a47a80.tar.xz manatools-4edbe312bce717740fb4e5d27861c130c3a47a80.zip |
changed for new SettingReader implementation
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ManaTools/MainDisplay.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ManaTools/MainDisplay.pm b/lib/ManaTools/MainDisplay.pm index 63934a7b..753a3e57 100644 --- a/lib/ManaTools/MainDisplay.pm +++ b/lib/ManaTools/MainDisplay.pm @@ -454,7 +454,8 @@ sub _loadSettings { my $fileName = "$self->{confDir}/settings.conf"; die "Configuration file missing" if (! -e $fileName); if (!$self->{settings} || $force_load) { - $self->{settings} = new ManaTools::SettingsReader($fileName); + my $settingsReader = ManaTools::SettingsReader->new({fileName => $fileName}); + $self->{settings} = $settingsReader->settings(); } } |