mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
Enable previews to work with qt too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5007 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
48be032be3
commit
3c5fe62f97
@ -1,3 +1,7 @@
|
||||
2002-08-15 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* lyx_gui.C (hexname): enable previews to work!
|
||||
|
||||
2002-08-15 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* Dialogs.C:
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include "support/lyxlib.h"
|
||||
#include "support/os.h"
|
||||
#include "support/filetools.h"
|
||||
#include "support/lstrings.h"
|
||||
#include "debug.h"
|
||||
#include "gettext.h"
|
||||
|
||||
@ -126,7 +127,7 @@ void lyx_gui::exit()
|
||||
string const lyx_gui::hexname(LColor::color col)
|
||||
{
|
||||
QColor color(lcolor.getX11Name(col).c_str());
|
||||
return color.name().latin1();
|
||||
return ltrim(color.name().latin1(), "#");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user