# HG changeset patch # User insilmaril # Date 1216027008 0 # Node ID bd979a001163858ea38708ed164b7d125a6348e5 # Parent 191a6e3968031a119a905948d30f1ed49ac91025 minor change to remove gcc warning diff -r 191a6e396803 -r bd979a001163 editxlinkdialog.cpp --- a/editxlinkdialog.cpp Fri Jul 11 12:36:40 2008 +0000 +++ b/editxlinkdialog.cpp Mon Jul 14 09:16:48 2008 +0000 @@ -62,8 +62,8 @@ if (xlo) { if (selection && - (typeid(*selection) == typeid(BranchObj)) || - (typeid(*selection) == typeid(MapCenterObj)) ) + ((typeid(*selection) == typeid(BranchObj)) || + (typeid(*selection) == typeid(MapCenterObj))) ) { QColor col=((BranchObj*)(selection))->getColor(); xlo->setColor(col);