* 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
This commit is contained in:
Abdelrazak Younes 2006-07-06 11:28:05 +00:00
parent 1afb2a6b05
commit a0d93c0c49

View File

@ -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);
}