[Qt] move SubstituteFonts() above ToolTipToRichTextFilter

- doesn't belong to the ToolTipToRichTextFilter class so move it up
This commit is contained in:
Philip Kaufmann
2014-08-08 10:03:13 +02:00
parent fffe947c48
commit c4bae53092
2 changed files with 10 additions and 10 deletions

View File

@@ -377,12 +377,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)
@@ -403,6 +397,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)