1
0
mirror of https://github.com/altlinux/admc.git synced 2025-04-02 10:50:15 +03:00

remove shadowing

This commit is contained in:
Dmitry Degtyarev 2020-06-04 15:52:30 +04:00
parent 2b4127882e
commit 6cdb04f843
2 changed files with 6 additions and 6 deletions

View File

@ -27,9 +27,9 @@ namespace adldap {
AdConnection::AdConnection() {
}
void AdConnection::connect(std::string uri, std::string search_base) {
this->uri = uri;
this->search_base = search_base;
void AdConnection::connect(std::string uri_, std::string search_base_) {
this->uri = uri_;
this->search_base = search_base_;
this->ldap_connection = ad_login(this->uri.c_str());
}

View File

@ -25,11 +25,11 @@
#include "main_window.h"
Runner::Runner(int& argc, char **argv, QString dispname, QString appname, QString appver, QString orgname, QString orgdomain) {
Runner::Runner(int& argc_, char **argv_, QString dispname, QString appname, QString appver, QString orgname, QString orgdomain) {
//Q_INIT_RESOURCE(adtool);
this->argc = argc;
this->argv = argv;
this->argc = argc_;
this->argv = argv_;
this->app = ADMC::create(this->argc, this->argv);
this->app->setApplicationDisplayName(dispname);