From a0d93c0c49e8a675b47efa8f390fe5b5b5d8a425 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 6 Jul 2006 11:28:05 +0000 Subject: [PATCH] * MSVC Compilation fix: #warning is not supported. * Change the comment to "This is not a memory leak:" git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14347 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/QPrefsDialog.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/QPrefsDialog.C b/src/frontends/qt4/QPrefsDialog.C index ca070cf02f..0c9b0485be 100644 --- a/src/frontends/qt4/QPrefsDialog.C +++ b/src/frontends/qt4/QPrefsDialog.C @@ -523,7 +523,7 @@ PrefColors::PrefColors(QPrefs * form, QWidget * parent) prefcolors_.push_back(color.name()); QPixmap coloritem(32, 32); coloritem.fill(color); -#warning Is this a leak or not? (Lgb) + // This is not a memory leak: /*QListWidgetItem * newItem =*/ new QListWidgetItem(QIcon(coloritem), toqstr(lcolor.getGUIName(lc)), lyxObjectsLW); } -- 2.39.2