X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=gui%2Fapicalldelegate.cpp;h=dc9dc94a45248a50caf0a9941085a20d6367418a;hb=49ff44d6c90f330232e7d2c92e94c20a8f13a862;hp=800fcddb1cc842ae95cf0bc69870bc15345a3578;hpb=b53b161dfae79f1bbb1dd2c8dff087b5e2365a26;p=apitrace diff --git a/gui/apicalldelegate.cpp b/gui/apicalldelegate.cpp index 800fcdd..dc9dc94 100644 --- a/gui/apicalldelegate.cpp +++ b/gui/apicalldelegate.cpp @@ -67,7 +67,10 @@ QSize ApiCallDelegate::sizeHint(const QStyleOptionViewItem &option, ApiTraceEvent *event = index.data(ApiTraceModel::EventRole).value(); +#ifndef __APPLE__ + /* XXX: This fails on MacOSX, but seems safe to ignore */ Q_ASSERT(index.column() == 0); +#endif if (event) { QStaticText text = event->staticText();