summaryrefslogtreecommitdiff
path: root/src/gui/windows/changepassworddialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 11:03:22 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 11:03:22 +0300
commitdfaae6f6e804e7779ade870a211a1a14d3a5d9aa (patch)
treea7652f4e548e166b39a8203e27c890c02c62d5ca /src/gui/windows/changepassworddialog.cpp
parentfd050698f74b5dc7a9867bc93ba6b7c65ef2462f (diff)
downloadplus-dfaae6f6e804e7779ade870a211a1a14d3a5d9aa.tar.gz
plus-dfaae6f6e804e7779ade870a211a1a14d3a5d9aa.tar.bz2
plus-dfaae6f6e804e7779ade870a211a1a14d3a5d9aa.tar.xz
plus-dfaae6f6e804e7779ade870a211a1a14d3a5d9aa.zip
Remove getter for loginHandler.
Diffstat (limited to 'src/gui/windows/changepassworddialog.cpp')
-rw-r--r--src/gui/windows/changepassworddialog.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/windows/changepassworddialog.cpp b/src/gui/windows/changepassworddialog.cpp
index 875fb2c3d..a5f97becb 100644
--- a/src/gui/windows/changepassworddialog.cpp
+++ b/src/gui/windows/changepassworddialog.cpp
@@ -110,10 +110,8 @@ void ChangePasswordDialog::action(const ActionEvent &event)
std::stringstream errorMsg;
int error = 0;
- const unsigned int min = Net::getLoginHandler()
- ->getMinPasswordLength();
- const unsigned int max = Net::getLoginHandler()
- ->getMaxPasswordLength();
+ const unsigned int min = loginHandler->getMinPasswordLength();
+ const unsigned int max = loginHandler->getMaxPasswordLength();
// Check old Password
if (oldPassword.empty())