Skip to content
Snippets Groups Projects
Commit 98b0fc9e authored by Jan Möbius's avatar Jan Möbius
Browse files

Added some slot debugging for texture slots in core

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@4195 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 0f6d8003
Branches
Tags
No related merge requests found
......@@ -139,6 +139,16 @@ void Core::slotAddTexture( QString _textureName , QString _filename, uint _dimen
* See in the documentation of the texture plugin interfaces for further detail.
*/
void Core::slotUpdateTexture( QString _name , int _identifier){
if ( OpenFlipper::Options::doSlotDebugging() ) {
if ( sender() != 0 ) {
if ( sender()->metaObject() != 0 ) {
emit log(LOGINFO,"slotUpdateTexture( " + _name + " , " + QString::number(_identifier) + " ) called by " +
QString( sender()->metaObject()->className() ) );
}
}
}
emit updateTexture(_name, _identifier);
}
......@@ -160,6 +170,14 @@ void Core::slotSetTextureMode(QString _textureName ,QString _mode) {
* See in the documentation of the texture plugin interfaces for further detail.
*/
void Core::slotTextureUpdated( QString _textureName , int _identifier ) {
if ( OpenFlipper::Options::doSlotDebugging() ) {
if ( sender() != 0 ) {
if ( sender()->metaObject() != 0 ) {
emit log(LOGINFO,"slotTextureUpdated( " + _textureName + " , " + QString::number(_identifier) + " ) called by " +
QString( sender()->metaObject()->className() ) );
}
}
}
emit updatedTextures(_textureName,_identifier);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment