Commit 6f98d666 authored by Jan Möbius's avatar Jan Möbius

Show profile in title bar

parent 965f7c08
......@@ -293,15 +293,24 @@ Core::init() {
coreWidget_->resize(width,height);
#ifdef DEBUG
coreWidget_->setWindowTitle( OpenFlipper::Options::windowTitle() + " [DEBUG]" );
#else
coreWidget_->setWindowTitle( OpenFlipper::Options::windowTitle() );
#endif
// Sanity check for OpenGL capabilities!
checkOpenGLCapabilities();
QString titleInfo = OpenFlipper::Options::windowTitle();
#ifdef DEBUG
titleInfo = titleInfo + " [DEBUG]" );
#endif
if ( OpenFlipper::Options::coreProfile() )
titleInfo = titleInfo + " CoreProfile";
else
titleInfo = titleInfo + " CompatProfile";
coreWidget_->setWindowTitle( titleInfo );
}
// ======================================================================
......
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