mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
* QPrefsDialog::QPrefsDialog():
- fix from Edwin Leuven: colorsModule did not recognize colornames grey40, etc. - delete unused variable. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13445 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4213d1851a
commit
6c2e78e128
@ -44,6 +44,7 @@
|
||||
|
||||
#include "gettext.h"
|
||||
#include "LColor.h"
|
||||
#include "lcolorcache.h"
|
||||
|
||||
#include "controllers/ControlPrefs.h"
|
||||
|
||||
@ -168,9 +169,8 @@ QPrefsDialog::QPrefsDialog(QPrefs * form)
|
||||
|| lc == LColor::ignore) continue;
|
||||
|
||||
colors_.push_back(lc);
|
||||
string const x11name(lcolor.getX11Name(lc));
|
||||
string const guiname(lcolor.getGUIName(lc));
|
||||
QColorItem * ci(new QColorItem(QColor(toqstr(x11name)),
|
||||
QColorItem * ci(new QColorItem(lcolorcache.get(lc),
|
||||
toqstr(guiname)));
|
||||
colorsModule->lyxObjectsLB->insertItem(ci);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user