// check for network
if (AppSettings::isConnected()) {
QSettings settings;
- QString last_ip = AccountDialog::currentIp();
+ QString last_ip = AppSettings::getCurrentIp(); // AccountDialog::currentIp();
if (!last_ip.isNull() && !last_ip.isEmpty()) {
QTcpSocket * socket = new QTcpSocket;
if(last_ip.contains(":"))
AccountDialog * dialog = new AccountDialog(this);
dialog->exec();
- mIp= AccountDialog::currentIp();
+ mIp= AppSettings::getCurrentIp(); //AccountDialog::currentIp();
mPlayListMainWindow->init();
mBrowserMainWindow->init();