Ignore:
Timestamp:
Jan 14, 2010, 10:03:47 AM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

kernel: DnD: Fixed QDND_DEBUG build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/kernel/qdnd.cpp

    r447 r449  
    274274    if (actions == Qt::IgnoreAction) {
    275275        if (!str.isEmpty())
    276             str += " | ";
    277         str += "IgnoreAction";
     276            str += ;
     277        str += ;
    278278    }
    279279    if (actions & Qt::LinkAction) {
    280280        if (!str.isEmpty())
    281             str += " | ";
    282         str += "LinkAction";
     281            str += ;
     282        str += ;
    283283    }
    284284    if (actions & Qt::CopyAction) {
    285285        if (!str.isEmpty())
    286             str += " | ";
    287         str += "CopyAction";
     286            str += ;
     287        str += ;
    288288    }
    289289    if (actions & Qt::MoveAction) {
    290290        if (!str.isEmpty())
    291             str += " | ";
    292         str += "MoveAction";
     291            str += ;
     292        str += ;
    293293    }
    294294    if ((actions & Qt::TargetMoveAction) == Qt::TargetMoveAction ) {
    295295        if (!str.isEmpty())
    296             str += " | ";
    297         str += "TargetMoveAction";
     296            str += ;
     297        str += ;
    298298    }
    299299    return str;
     
    305305    if (moderfies & Qt::ControlModifier) {
    306306        if (!str.isEmpty())
    307             str += " | ";
    308         str += Qt::ControlModifier;
     307            str += ;
     308        str += Q;
    309309    }
    310310    if (moderfies & Qt::AltModifier) {
    311311        if (!str.isEmpty())
    312             str += " | ";
    313         str += Qt::AltModifier;
     312            str += ;
     313        str += Q;
    314314    }
    315315    if (moderfies & Qt::ShiftModifier) {
    316316        if (!str.isEmpty())
    317             str += " | ";
    318         str += Qt::ShiftModifier;
     317            str += ;
     318        str += Q;
    319319    }
    320320    return str;
     
    414414#ifdef QDND_DEBUG
    415415    qDebug("QDragManager::defaultAction(Qt::DropActions possibleActions)");
    416     qDebug("keyboard modifiers : %s", KeyboardModifiersToString(modifiers).latin1());
     416    qDebug("keyboard modifiers : %());
    417417#endif
    418418
     
    453453
    454454#ifdef QDND_DEBUG
    455     qDebug("possible actions : %s", dragActionsToString(possibleActions).latin1());
     455    qDebug("possible actions : %());
    456456#endif
    457457
     
    469469
    470470#ifdef QDND_DEBUG
    471     qDebug("default action : %s", dragActionsToString(defaultAction).latin1());
     471    qDebug("default action : %());
    472472#endif
    473473
Note: See TracChangeset for help on using the changeset viewer.