mirror of
https://github.com/altlinux/admc.git
synced 2025-04-02 10:50:15 +03:00
remove shadowing
This commit is contained in:
parent
2b4127882e
commit
6cdb04f843
@ -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());
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user