better fix for WideBar::insertSeparator
Signed-off-by: leo78913 <leo3758@riseup.net>
This commit is contained in:
parent
df8df41621
commit
a27564ed70
@ -157,9 +157,7 @@ void WideBar::insertSeparator(QAction* before)
|
||||
return;
|
||||
|
||||
BarEntry entry;
|
||||
entry.bar_action = new QAction("", this);
|
||||
entry.bar_action->setSeparator(true);
|
||||
insertAction(iter->bar_action, entry.bar_action);
|
||||
entry.bar_action = QToolBar::insertSeparator(iter->bar_action);
|
||||
entry.type = BarEntry::Type::Separator;
|
||||
|
||||
m_entries.insert(iter, entry);
|
||||
|
Loading…
Reference in New Issue
Block a user