]> git.lyx.org Git - features.git/commitdiff
Style.
authorRichard Heck <rgheck@comcast.net>
Fri, 18 Mar 2011 18:56:05 +0000 (18:56 +0000)
committerRichard Heck <rgheck@comcast.net>
Fri, 18 Mar 2011 18:56:05 +0000 (18:56 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37955 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiSelectionManager.cpp

index a25b154ccfae37fc82724d50fd4d17e997d1ba15..825115cb3a368fff67470dc774a2269ff427bd25 100644 (file)
@@ -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;
 }