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

Updated to correct backup slots



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12696 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8b38609b
......@@ -1814,7 +1814,7 @@ void TextureControlPlugin::getCoordinates1D(QString _textureName, int _id, std::
}
void TextureControlPlugin::slotAboutToRestore( int _objectid, int /*_internalId*/) {
void TextureControlPlugin::slotAboutToRestore( int _objectid ) {
// ================================================================================
// Get current object
......@@ -1845,8 +1845,7 @@ void TextureControlPlugin::slotAboutToRestore( int _objectid, int /*_internalId*
}
void TextureControlPlugin::slotRestore( int _objectid, int /*_internalId*/) {
void TextureControlPlugin::slotRestored( int _objectid ) {
// ================================================================================
// Get the last active texture in the restored perObjectData
// ================================================================================
......@@ -1859,9 +1858,5 @@ void TextureControlPlugin::slotRestore( int _objectid, int /*_internalId*/) {
slotSwitchTexture(currentTexture,_objectid);
}
void TextureControlPlugin::slotRestored( int /*_objectid*/, int /*_internalId*/) {
// Nothing to do yet
}
Q_EXPORT_PLUGIN2( texturecontrolplugin , TextureControlPlugin );
......@@ -133,9 +133,8 @@ class TextureControlPlugin : public QObject, BaseInterface, BackupInterface, Tex
void addedEmptyObject( int _id );
//BackupInterface
void slotAboutToRestore( int _objectid , int _internalId);
void slotRestore( int _objectid, int _internalId);
void slotRestored( int _objectid, int _internalId);
void slotAboutToRestore( int _objectid );
void slotRestored( int _objectid);
private slots:
......
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