aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ManaTools
diff options
context:
space:
mode:
authorMaarten Vanraes <alien@mageia.org>2016-05-05 15:01:17 +0200
committerMaarten Vanraes <alien@mageia.org>2016-05-09 10:34:30 +0200
commitd6622a8607db5eb9f1bd35e16311b3cfd375196e (patch)
treeed8e234afaa073d7687ea9c6c0ea3e91b36456ab /lib/ManaTools
parent952e34d4082e459c57d70c6db981dff87b2ca87d (diff)
downloadmanatools-d6622a8607db5eb9f1bd35e16311b3cfd375196e.tar
manatools-d6622a8607db5eb9f1bd35e16311b3cfd375196e.tar.gz
manatools-d6622a8607db5eb9f1bd35e16311b3cfd375196e.tar.bz2
manatools-d6622a8607db5eb9f1bd35e16311b3cfd375196e.tar.xz
manatools-d6622a8607db5eb9f1bd35e16311b3cfd375196e.zip
Dialog: delegate logging to the Module
Diffstat (limited to 'lib/ManaTools')
-rw-r--r--lib/ManaTools/Shared/GUI/Dialog.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/ManaTools/Shared/GUI/Dialog.pm b/lib/ManaTools/Shared/GUI/Dialog.pm
index efb8fab7..78a16ffa 100644
--- a/lib/ManaTools/Shared/GUI/Dialog.pm
+++ b/lib/ManaTools/Shared/GUI/Dialog.pm
@@ -113,6 +113,7 @@ has 'module' => (
is => 'ro',
isa => 'ManaTools::Module',
required => 1,
+ handles => ['loc', 'logger', 'D', 'I', 'W', 'E'],
);
has 'factory' => (
@@ -323,11 +324,6 @@ has 'result' => (
}
);
-sub loc {
- my $self = shift;
- return $self->module->loc(@_);
-}
-
#=============================================================
=head2 checkFields