mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
* 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:
parent
1afb2a6b05
commit
a0d93c0c49
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user