mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
rawName() is only used with Qt4.
Fixes warning: ../../../../stable/src/frontends/qt4/GuiFontLoader.cpp:132:9: warning: ‘QString lyx::frontend::{anonymous}::rawName(const QString&)’ defined but not used [-Wunused-function] 132 | QString rawName(QString const & family) | ^~~~~~~
This commit is contained in:
parent
511abbf4ce
commit
847312daea
@ -129,6 +129,7 @@ GuiFontInfo & fontinfo(FontInfo const & f)
|
||||
}
|
||||
|
||||
|
||||
#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
|
||||
QString rawName(QString const & family)
|
||||
{
|
||||
for (size_t i = 0; i < nr_symbol_fonts; ++i)
|
||||
@ -138,6 +139,7 @@ QString rawName(QString const & family)
|
||||
LYXERR(Debug::FONT, "BUG: family not found !");
|
||||
return QString();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
QString symbolFamily(FontFamily family)
|
||||
|
Loading…
Reference in New Issue
Block a user