From b43ce8067650228952ccf81e53d2a927d7a4d558 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Thu, 22 Nov 2007 23:34:57 +0000 Subject: [PATCH] cosmetics git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21720 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiView.cpp | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 4f29f8d91c..e603af9448 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -16,12 +16,6 @@ #include "GuiView.h" #include "Dialog.h" -#include - -using std::string; - -#include "GuiView.h" - #include "GuiApplication.h" #include "GuiWorkArea.h" #include "GuiKeySymbol.h" @@ -55,7 +49,6 @@ using std::string; #include "ToolbarBackend.h" #include "version.h" -#include "support/convert.h" #include "support/FileName.h" #include "support/lstrings.h" #include "support/os.h" @@ -82,8 +75,8 @@ using std::string; #include #include +#include #include -#include #ifdef HAVE_SYS_TIME_H # include @@ -120,7 +113,7 @@ public: // The font used to display the version info font.setStyleHint(QFont::SansSerif); font.setWeight(QFont::Bold); - font.setPointSize(convert(lyxrc.font_sizes[FONT_SIZE_LARGE])); + font.setPointSize(toqstr(lyxrc.font_sizes[FONT_SIZE_LARGE]).toInt()); pain.setFont(font); pain.drawText(260, 270, text); } @@ -459,7 +452,7 @@ void GuiView::dropEvent(QDropEvent* event) if (files.isEmpty()) return; - LYXERR(Debug::GUI, BOOST_CURRENT_FUNCTION << " got URLs!"); + LYXERR(Debug::GUI, "GuiView::dropEvent: got URLs!"); for (int i = 0; i != files.size(); ++i) { string const file = support::os::internal_path(fromqstr( files.at(i).toLocalFile()));