]> git.lyx.org Git - lyx.git/commitdiff
* MSVC Compilation fix: #warning is not supported.
authorAbdelrazak Younes <younes@lyx.org>
Thu, 6 Jul 2006 11:28:05 +0000 (11:28 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Thu, 6 Jul 2006 11:28:05 +0000 (11:28 +0000)
* 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

index ca070cf02f0fd01c7473163db912ccf8b909912a..0c9b0485bedd2c0a32411419e61852604443d350 100644 (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);
        }