Commit ec7d15f8 authored by Jan Möbius's avatar Jan Möbius

Added slot debugging for slotSetTextureMode in core

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5632 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 41de8ea7
......@@ -190,6 +190,16 @@ void Core::slotUpdateAllTextures( ){
* See in the documentation of the texture plugin interfaces for further detail.
*/
void Core::slotSetTextureMode(QString _textureName ,QString _mode) {
if ( OpenFlipper::Options::doSlotDebugging() ) {
if ( sender() != 0 ) {
if ( sender()->metaObject() != 0 ) {
emit log(LOGINFO,"slotSetTextureMode( " + _textureName + " , " + _mode + " ) called by " +
QString( sender()->metaObject()->className() ) );
}
}
}
emit setTextureMode(_textureName,_mode);
}
......
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