From: Richard Heck Date: Fri, 18 Mar 2011 18:56:05 +0000 (+0000) Subject: Style. X-Git-Tag: 2.0.0~496 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=8eaed90043dbbe90777f4f0e56e88b1f99d49fbf;p=features.git Style. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37955 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiSelectionManager.cpp b/src/frontends/qt4/GuiSelectionManager.cpp index a25b154ccf..825115cb3a 100644 --- a/src/frontends/qt4/GuiSelectionManager.cpp +++ b/src/frontends/qt4/GuiSelectionManager.cpp @@ -49,15 +49,10 @@ GuiSelectionManager::GuiSelectionManager( QPushButton * down, QAbstractListModel * amod, QAbstractListModel * smod) + : availableLV(avail), selectedLV(sel), addPB(add), deletePB(del), + upPB(up), downPB(down), availableModel(amod), selectedModel(smod), + selectedHasFocus_(false) { - availableLV = avail; - selectedLV = sel; - addPB = add; - deletePB = del; - upPB = up; - downPB = down; - availableModel = amod; - selectedModel = smod; selectedLV->setModel(smod); availableLV->setModel(amod); @@ -87,7 +82,6 @@ GuiSelectionManager::GuiSelectionManager( availableLV->installEventFilter(this); selectedLV->installEventFilter(this); - selectedHasFocus_ = false; }