Fix build with clang. This resolves issue #7.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/8/head
Michele Calgaro 3 years ago
parent d819a129bb
commit 57f84ffb5e
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -326,7 +326,7 @@ RadialMap::Map::paint( unsigned int scaleFactor )
//draw arrow head to indicate undisplayed files/directories
TQPointArray pts( 3 );
TQPoint pos, cpos = rect.center();
int a[3] = { (*it)->start(), (*it)->length(), 0 };
uint a[3] = { (*it)->start(), (*it)->length(), 0 };
a[2] = a[0] + (a[1] / 2); //assign to halfway between
if( a[1] > a_max )

@ -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
if( root.tagName() != ACTION_ROOT ) {
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!" )
);
delete doc; doc = 0;

Loading…
Cancel
Save