Changeset 5bc91f0 in subsurface


Ignore:
Timestamp:
Jun 11, 2017, 3:46:26 PM (4 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
74bf8d52
Parents:
49cbfdd7
Message:

Fix a few warnings

Signed-off-by: Dirk Hohndel <dirk@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • qt-models/messagehandlermodel.cpp

    r2d84891 r5bc91f0  
    1212void logMessageHandler(QtMsgType type, const QMessageLogContext &context, const QString &msg)
    1313{
     14        Q_UNUSED(context)
    1415        MessageHandlerModel::self()->addLog(type, msg);
    1516}
     
    2324MessageHandlerModel::MessageHandlerModel(QObject *parent)
    2425{
     26        Q_UNUSED(parent)
    2527        // no more than one message handler.
    2628        qInstallMessageHandler(logMessageHandler);
     
    2931int MessageHandlerModel::rowCount(const QModelIndex& parent) const
    3032{
    31         Q_UNUSED(parent);
     33        Q_UNUSED(parent)
    3234        return m_data.size();
    3335}
Note: See TracChangeset for help on using the changeset viewer.