mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Use setSectionResizeMode from qt_helpers
This is needed to compile with Qt5.
This commit is contained in:
parent
d42c5fcd23
commit
ea7d36912b
@ -1154,7 +1154,7 @@ GuiDocument::GuiDocument(GuiView & lv)
|
||||
headers << qt_("Package") << qt_("Load automatically")
|
||||
<< qt_("Load always") << qt_("Do not load");
|
||||
mathsModule->packagesTW->setHorizontalHeaderLabels(headers);
|
||||
mathsModule->packagesTW->horizontalHeader()->setResizeMode(QHeaderView::Stretch);
|
||||
setSectionResizeMode(mathsModule->packagesTW->horizontalHeader(), QHeaderView::Stretch);
|
||||
map<string, string> const & packages = BufferParams::auto_packages();
|
||||
mathsModule->packagesTW->setRowCount(packages.size());
|
||||
int i = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user