Commit a216c12f 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 3ab6a419
...@@ -1814,7 +1814,7 @@ void TextureControlPlugin::getCoordinates1D(QString _textureName, int _id, std:: ...@@ -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 // Get current object
...@@ -1845,8 +1845,7 @@ void TextureControlPlugin::slotAboutToRestore( int _objectid, int /*_internalId* ...@@ -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 // Get the last active texture in the restored perObjectData
// ================================================================================ // ================================================================================
...@@ -1859,9 +1858,5 @@ void TextureControlPlugin::slotRestore( int _objectid, int /*_internalId*/) { ...@@ -1859,9 +1858,5 @@ void TextureControlPlugin::slotRestore( int _objectid, int /*_internalId*/) {
slotSwitchTexture(currentTexture,_objectid); slotSwitchTexture(currentTexture,_objectid);
} }
void TextureControlPlugin::slotRestored( int /*_objectid*/, int /*_internalId*/) {
// Nothing to do yet
}
Q_EXPORT_PLUGIN2( texturecontrolplugin , TextureControlPlugin ); Q_EXPORT_PLUGIN2( texturecontrolplugin , TextureControlPlugin );
...@@ -133,9 +133,8 @@ class TextureControlPlugin : public QObject, BaseInterface, BackupInterface, Tex ...@@ -133,9 +133,8 @@ class TextureControlPlugin : public QObject, BaseInterface, BackupInterface, Tex
void addedEmptyObject( int _id ); void addedEmptyObject( int _id );
//BackupInterface //BackupInterface
void slotAboutToRestore( int _objectid , int _internalId); void slotAboutToRestore( int _objectid );
void slotRestore( int _objectid, int _internalId); void slotRestored( int _objectid);
void slotRestored( int _objectid, int _internalId);
private slots: 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