mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
remove unused variable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15268 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6ada61e182
commit
2b477c1f68
@ -177,7 +177,6 @@ void GuiFontMetrics::rectText(docstring const & str,
|
||||
void GuiFontMetrics::buttonText(docstring const & str,
|
||||
int & w, int & ascent, int & descent) const
|
||||
{
|
||||
QFontMetrics const & m = metrics_;
|
||||
static int const d = 3;
|
||||
w = FontMetrics::width(str) + d * 2 + 2;
|
||||
ascent = metrics_.ascent() + d;
|
||||
|
Loading…
Reference in New Issue
Block a user