|
|
@ -110,7 +110,7 @@ void UserAction::readFromFile( const TQString& filename, ReadMode mode, KrAction
|
|
|
|
// check if the file got the right root-element (ACTION_ROOT) - this finds out if the xml-file read to the DOM is realy an krusader useraction-file
|
|
|
|
// check if the file got the right root-element (ACTION_ROOT) - this finds out if the xml-file read to the DOM is realy an krusader useraction-file
|
|
|
|
if( root.tagName() != ACTION_ROOT ) {
|
|
|
|
if( root.tagName() != ACTION_ROOT ) {
|
|
|
|
KMessageBox::error( MAIN_VIEW,
|
|
|
|
KMessageBox::error( MAIN_VIEW,
|
|
|
|
i18n( "The actionfile's root-element isn't called "ACTION_ROOT", using %1").arg( filename ),
|
|
|
|
i18n( "The actionfile's root-element isn't called " ACTION_ROOT ", using %1").arg( filename ),
|
|
|
|
i18n( "UserActions - can't read from file!" )
|
|
|
|
i18n( "UserActions - can't read from file!" )
|
|
|
|
);
|
|
|
|
);
|
|
|
|
delete doc; doc = 0;
|
|
|
|
delete doc; doc = 0;
|
|
|
|