From acab294b87ca831b04a6f50383ffbe499cfdc0d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Mon, 16 Feb 2009 08:19:40 +0000 Subject: [PATCH] cosmetics/file encoding. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28508 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/Delegates.h | 2 +- src/frontends/qt4/TocWidget.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/frontends/Delegates.h b/src/frontends/Delegates.h index 519a285fbf..578d46e3cb 100644 --- a/src/frontends/Delegates.h +++ b/src/frontends/Delegates.h @@ -4,7 +4,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author André Pönitz + * \author André Pönitz * * Full author contact details are available in file CREDITS. */ diff --git a/src/frontends/qt4/TocWidget.cpp b/src/frontends/qt4/TocWidget.cpp index 5aef5c73e0..41b0e38e62 100644 --- a/src/frontends/qt4/TocWidget.cpp +++ b/src/frontends/qt4/TocWidget.cpp @@ -274,7 +274,8 @@ void TocWidget::updateView() tocTV->setEnabled(false); tocTV->setUpdatesEnabled(false); - QAbstractItemModel * toc_model = gui_view_.tocModels().model(current_type_); + QAbstractItemModel * toc_model = + gui_view_.tocModels().model(current_type_); if (tocTV->model() != toc_model) { tocTV->setModel(toc_model); tocTV->setEditTriggers(QAbstractItemView::NoEditTriggers);