Commit 6826cda2 authored by Martin Schultz's avatar Martin Schultz

disabled ambedded logger as workaround for windows in coreprofile mode

remove this fix as soon as the QPainter problem for embedded logger is
solved
parent 796be7ab
......@@ -600,8 +600,15 @@ void loggerState( LoggerState _state) {
}
/// Current state of the logging window?
LoggerState loggerState( ) {
return static_cast<OpenFlipper::Options::LoggerState> (OpenFlipperSettings().value("Core/Gui/LogWindow/LogWindowMode",0).toInt() );
LoggerState loggerState( ) {
LoggerState state = static_cast<OpenFlipper::Options::LoggerState> (OpenFlipperSettings().value("Core/Gui/LogWindow/LogWindowMode",0).toInt() );
// workaround for windows issue with drawing logger in scene using coreProfile (thank you Qt)
#ifdef WIN32
if(coreProfile_ && state == LoggerState::InScene)
return LoggerState::Normal;
#endif
/////////////////////////////////////////////////////////////////////////////////////////////
return state;
}
/// Which mode should is currently selected?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment