Remove unused help button from Windows titlebar
This commit is contained in:
parent
6b84edb4fd
commit
d677f1e5e4
6 changed files with 7 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ OpenRGBElgatoKeyLightSettingsEntry::OpenRGBElgatoKeyLightSettingsEntry(QWidget *
|
||||||
ui(new Ui::OpenRGBElgatoKeyLightSettingsEntryUi)
|
ui(new Ui::OpenRGBElgatoKeyLightSettingsEntryUi)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
}
|
}
|
||||||
|
|
||||||
OpenRGBElgatoKeyLightSettingsEntry::~OpenRGBElgatoKeyLightSettingsEntry()
|
OpenRGBElgatoKeyLightSettingsEntry::~OpenRGBElgatoKeyLightSettingsEntry()
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@ OpenRGBElgatoLightStripSettingsEntry::OpenRGBElgatoLightStripSettingsEntry(QWidg
|
||||||
ui(new Ui::OpenRGBElgatoLightStripSettingsEntryUi)
|
ui(new Ui::OpenRGBElgatoLightStripSettingsEntryUi)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
}
|
}
|
||||||
|
|
||||||
OpenRGBElgatoLightStripSettingsEntry::~OpenRGBElgatoLightStripSettingsEntry()
|
OpenRGBElgatoLightStripSettingsEntry::~OpenRGBElgatoLightStripSettingsEntry()
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@ Ui::OpenRGBHardwareIDsDialog::OpenRGBHardwareIDsDialog(QWidget *parent) :
|
||||||
ui(new Ui::OpenRGBHardwareIDsDialogUi)
|
ui(new Ui::OpenRGBHardwareIDsDialogUi)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
ui->HardwareIdsList->header()->resizeSection(0 /*column index*/, 300 /*width*/);
|
ui->HardwareIdsList->header()->resizeSection(0 /*column index*/, 300 /*width*/);
|
||||||
ui->HardwareIdsList->header()->resizeSection(1 /*column index*/, 200 /*width*/);
|
ui->HardwareIdsList->header()->resizeSection(1 /*column index*/, 200 /*width*/);
|
||||||
ui->HardwareIdsList->header()->resizeSection(2 /*column index*/, 100 /*width*/);
|
ui->HardwareIdsList->header()->resizeSection(2 /*column index*/, 100 /*width*/);
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@ Ui::OpenRGBNanoleafNewDeviceDialog::OpenRGBNanoleafNewDeviceDialog(QWidget *pare
|
||||||
QDialog(parent), ui(new Ui::OpenRGBNanoleafNewDeviceDialogUi)
|
QDialog(parent), ui(new Ui::OpenRGBNanoleafNewDeviceDialogUi)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
ui->devicePortEdit->setText("16021");
|
ui->devicePortEdit->setText("16021");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ Ui::OpenRGBProfileSaveDialog::OpenRGBProfileSaveDialog(QWidget *parent) :
|
||||||
QDialog(parent), ui(new Ui::OpenRGBProfileSaveDialogUi)
|
QDialog(parent), ui(new Ui::OpenRGBProfileSaveDialogUi)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
|
|
||||||
std::vector<std::string> filenames = ResourceManager::get()->GetProfileManager()->profile_list;
|
std::vector<std::string> filenames = ResourceManager::get()->GetProfileManager()->profile_list;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@ OpenRGBZoneResizeDialog::OpenRGBZoneResizeDialog(RGBController* edit_dev_ptr, un
|
||||||
unsigned int size_current = edit_dev->zones[edit_zone_idx].leds_count;
|
unsigned int size_current = edit_dev->zones[edit_zone_idx].leds_count;
|
||||||
|
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
|
|
||||||
QStringList header_labels;
|
QStringList header_labels;
|
||||||
header_labels << "Name" << "Size" << "";
|
header_labels << "Name" << "Size" << "";
|
||||||
|
|
@ -68,6 +69,7 @@ OpenRGBZoneResizeDialog::OpenRGBZoneResizeDialog(unsigned int edit_zone_min_val,
|
||||||
edit_dev = NULL;
|
edit_dev = NULL;
|
||||||
|
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
|
|
||||||
/*-----------------------------------------------------*\
|
/*-----------------------------------------------------*\
|
||||||
| This constructor is used for resizing mode-specific |
|
| This constructor is used for resizing mode-specific |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue