mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
fix gcc warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15727 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1ea98747b5
commit
8d9df8bce5
@ -473,7 +473,7 @@ void GuiView::busy(bool yes)
|
||||
Toolbars::ToolbarPtr GuiView::makeToolbar(ToolbarBackend::Toolbar const & tbb)
|
||||
{
|
||||
QLToolbar * Tb = new QLToolbar(tbb, *this);
|
||||
static QLToolbar * lastTb = 0;
|
||||
//static QLToolbar * lastTb = 0;
|
||||
|
||||
if (tbb.flags & ToolbarBackend::TOP) {
|
||||
addToolBar(Qt::TopToolBarArea, Tb);
|
||||
|
@ -195,7 +195,7 @@ public:
|
||||
public:
|
||||
/// constructor, set max_bookmarks
|
||||
/// allow 20 regular bookmarks
|
||||
BookmarksSection() : max_bookmarks(20), bookmarks(0) {}
|
||||
BookmarksSection() : bookmarks(0), max_bookmarks(20) {}
|
||||
|
||||
/// Save the current position as bookmark
|
||||
/// if save==false, save to temp_bookmark
|
||||
|
Loading…
Reference in New Issue
Block a user