|
|
@ -377,12 +377,6 @@ void openDebugLogfile() |
|
|
|
QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(pathDebug))); |
|
|
|
QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(pathDebug))); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
ToolTipToRichTextFilter::ToolTipToRichTextFilter(int size_threshold, QObject *parent) : |
|
|
|
|
|
|
|
QObject(parent), size_threshold(size_threshold) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void SubstituteFonts() |
|
|
|
void SubstituteFonts() |
|
|
|
{ |
|
|
|
{ |
|
|
|
#if defined(Q_OS_MAC) |
|
|
|
#if defined(Q_OS_MAC) |
|
|
@ -403,6 +397,13 @@ void SubstituteFonts() |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ToolTipToRichTextFilter::ToolTipToRichTextFilter(int size_threshold, QObject *parent) : |
|
|
|
|
|
|
|
QObject(parent), |
|
|
|
|
|
|
|
size_threshold(size_threshold) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
bool ToolTipToRichTextFilter::eventFilter(QObject *obj, QEvent *evt) |
|
|
|
bool ToolTipToRichTextFilter::eventFilter(QObject *obj, QEvent *evt) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if(evt->type() == QEvent::ToolTipChange) |
|
|
|
if(evt->type() == QEvent::ToolTipChange) |
|
|
|