Aufgrund einer Wartung wird GitLab am 17.08. zwischen 8:30 und 9:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 17.08. between 8:30 and 9:00 am.

Commit d6a9412f authored by Carsten Fuhrmann's avatar Carsten Fuhrmann

fixed blue icon bug

parent 6858422e
......@@ -125,7 +125,9 @@ ChannelListWidget::ChannelListWidget(QWidget *parent)
m_state = full;
m_minIcon.addFile("plugins\\qtTsOverlay\\min.png");
m_minIcon.addFile("plugins\\qtTsOverlay\\min.png", QSize(), QIcon::Selected);
m_maxIcon.addFile("plugins\\qtTsOverlay\\max.png");
m_maxIcon.addFile("plugins\\qtTsOverlay\\max.png", QSize(), QIcon::Selected);
setAttribute(Qt::WA_TranslucentBackground);
setWindowFlags(Qt::WindowStaysOnTopHint | Qt::FramelessWindowHint | Qt::SplashScreen);
......
......@@ -7,10 +7,7 @@
#include <QRegExp>
#include <QFile>
//#ifndef _DEBUG
//#pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" )
//#endif
//#define DEBUGWINDOW
enum nodeType {
channel,
......@@ -28,10 +25,15 @@ OverlayController::OverlayController(const struct TS3Functions funcs, quint64 se
m_treeState = full;
m_channelIcon.addFile("plugins\\qtTsOverlay\\channel.png");
m_channelIcon.addFile("plugins\\qtTsOverlay\\channel.png", QSize(), QIcon::Selected);
m_clientIcon.normal.addFile("plugins\\qtTsOverlay\\client.png");
m_clientIcon.normal.addFile("plugins\\qtTsOverlay\\client.png", QSize(), QIcon::Selected);
m_clientIcon.microMute.addFile("plugins\\qtTsOverlay\\microMute.png");
m_clientIcon.microMute.addFile("plugins\\qtTsOverlay\\microMute.png", QSize(), QIcon::Selected);
m_clientIcon.speakerMute.addFile("plugins\\qtTsOverlay\\speakerMute.png");
m_clientIcon.speakerMute.addFile("plugins\\qtTsOverlay\\speakerMute.png", QSize(), QIcon::Selected);
m_clientIcon.doubleMute.addFile("plugins\\qtTsOverlay\\doubleMute.png");
m_clientIcon.doubleMute.addFile("plugins\\qtTsOverlay\\doubleMute.png", QSize(), QIcon::Selected);
QFile styleSheet("plugins\\qtTsOverlay\\label.styl");
styleSheet.open(QIODevice::ReadOnly);
......@@ -43,10 +45,14 @@ OverlayController::OverlayController(const struct TS3Functions funcs, quint64 se
m_speakerOffset = 0;
m_debugWindow = NULL; // = new QLabel;
/*m_debugWindow->setGeometry(320, 200, 750, 500);
#ifdef DEBUGWINDOW
m_debugWindow = new QLabel;
m_debugWindow->setGeometry(320, 200, 750, 500);
m_debugWindow->setAlignment(Qt::AlignTop | Qt::AlignLeft);
m_debugWindow->show();*/
m_debugWindow->show();
#else
m_debugWindow = NULL;
#endif
m_SCHID = serverConnectionHandlerID;
......
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