mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 05:30:06 +08:00
fix wrong hiearchy
This commit is contained in:
parent
596e66f3eb
commit
9d6b8ff286
@ -19,8 +19,8 @@ DialogHotkey::DialogHotkey(QWidget *parent, const QList<QAction*>& actions) : QD
|
||||
|
||||
void DialogHotkey::generateShortcutItems(const QList<QAction*>& actions)
|
||||
{
|
||||
auto layout = new QFormLayout(this);
|
||||
auto widget = new QWidget(this);
|
||||
auto widget = new QWidget(ui->shortcut_area);
|
||||
auto layout = new QFormLayout(widget);
|
||||
widget->setLayout(layout);
|
||||
ui->shortcut_area->setWidget(widget);
|
||||
for (auto action : actions)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user