Merge pull request #4659
c4bae53 [Qt] move SubstituteFonts() above ToolTipToRichTextFilter (Philip Kaufmann)
This commit is contained in:
@@ -381,12 +381,6 @@ void openDebugLogfile()
|
||||
QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(pathDebug)));
|
||||
}
|
||||
|
||||
ToolTipToRichTextFilter::ToolTipToRichTextFilter(int size_threshold, QObject *parent) :
|
||||
QObject(parent), size_threshold(size_threshold)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void SubstituteFonts()
|
||||
{
|
||||
#if defined(Q_OS_MAC)
|
||||
@@ -407,6 +401,13 @@ void SubstituteFonts()
|
||||
#endif
|
||||
}
|
||||
|
||||
ToolTipToRichTextFilter::ToolTipToRichTextFilter(int size_threshold, QObject *parent) :
|
||||
QObject(parent),
|
||||
size_threshold(size_threshold)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bool ToolTipToRichTextFilter::eventFilter(QObject *obj, QEvent *evt)
|
||||
{
|
||||
if(evt->type() == QEvent::ToolTipChange)
|
||||
|
||||
Reference in New Issue
Block a user