From: Abdelrazak Younes Date: Thu, 6 Jul 2006 11:28:05 +0000 (+0000) Subject: * MSVC Compilation fix: #warning is not supported. X-Git-Tag: 1.6.10~13006 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=a0d93c0c49e8a675b47efa8f390fe5b5b5d8a425;hp=1afb2a6b05b22c681aa21780134d3ed922f9498f;p=lyx.git * 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 --- 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); }