Commit 0f0350e1 authored by Carsten Fuhrmann's avatar Carsten Fuhrmann
Browse files

fixed the bug

parent 73da7b09
......@@ -4,6 +4,7 @@
#include <QStringList>
#include "plugin.h"
#include <qdebug.h>
#include "teamspeak\public_errors.h"
//#ifndef _DEBUG
//#pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" )
......@@ -217,7 +218,8 @@ void OverlayController::displayChannelList()
}
uint64* channelIDList;
ts3.getChannelList(m_SCHID, &channelIDList);
if (ts3.getChannelList(m_SCHID, &channelIDList) != ERROR_ok)
return;
QVector<channelInfo> channelList;
......
......@@ -129,7 +129,7 @@ int ts3plugin_init() {
void ts3plugin_shutdown() {
while (g_serverList.size() > 0)
delete g_serverList.erase(g_serverList.begin()).value();
delete g_serverList.take(g_serverList.firstKey());
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment