Merge pull request #4501 from flibitijibibo/disabletooltips

DolphinWX: Add 'DisableTooltips' config option (R2)
This commit is contained in:
Mat M
2016-12-20 17:20:24 -05:00
committed by GitHub
3 changed files with 7 additions and 0 deletions
+3
View File
@@ -18,6 +18,7 @@
#include <wx/msgdlg.h>
#include <wx/thread.h>
#include <wx/timer.h>
#include <wx/tooltip.h>
#include <wx/utils.h>
#include <wx/window.h>
@@ -110,6 +111,8 @@ bool DolphinApp::OnInit()
DolphinAnalytics::Instance()->ReportDolphinStart("wx");
wxToolTip::Enable(!SConfig::GetInstance().m_DisableTooltips);
// Enable the PNG image handler for screenshots
wxImage::AddHandler(new wxPNGHandler);