base for cruft removal

This commit is contained in:
Hane 2024-05-11 22:39:49 +02:00
commit 6ebe2604e7
2 changed files with 11 additions and 8 deletions

View file

@ -609,13 +609,15 @@ void Overseer::reloadEndpoints(Flows flow) {
deviceCollection->Release(); deviceCollection->Release();
//IPolicyConfig7 test //IPolicyConfig7 test
deviceEnumerator->GetDefaultAudioEndpoint(MSflow, ERole::eCommunications, &temp); /*
LPWSTR tempString = nullptr; * deviceEnumerator->GetDefaultAudioEndpoint(MSflow, ERole::eCommunications, &temp);
temp->GetId(&tempString); * LPWSTR tempString = nullptr;
HRESULT hre = policyConfig->SetDefaultEndpoint( * temp->GetId(&tempString);
tempString, * HRESULT hre = policyConfig->SetDefaultEndpoint(
ERole::eMultimedia * tempString,
); * ERole::eMultimedia
* );
*/
/* /*
* Discerning default endpoints per role * Discerning default endpoints per role

View file

@ -867,7 +867,8 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) {
setWindowFlags(Qt::Window | Qt::MSWindowsFixedSizeDialogHint); setWindowFlags(Qt::Window | Qt::MSWindowsFixedSizeDialogHint);
setWindowFlags(Qt::FramelessWindowHint | Qt::ToolTip); setWindowFlags(Qt::FramelessWindowHint | Qt::ToolTip);
//setAttribute(Qt::WA_TranslucentBackground); //setAttribute(Qt::WA_TranslucentBackground);
//setStyleSheet("background-color: rgba(255,182,193,60%);"); //setStyleSheet("background: transparent; ");
//setStyleSheet("background-color: rgba(255,182,193);");
setWindowTitle(STRING_TITLE); setWindowTitle(STRING_TITLE);
/* /*
* Registering needed custom events * Registering needed custom events