~aacid/unity-2d/lenses_shortcuts

« back to all changes in this revision

Viewing changes to libunity-2d-private/src/lenses.cpp

  • Committer: Albert Astals
  • Date: 2012-04-04 09:38:35 UTC
  • Revision ID: albert.astals@canonical.com-20120404093835-1tj0m3rqfxc3ghwe
Use UQ_WARNING instead of qWarning

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include "lenses.h"
22
22
 
23
23
// Local
 
24
#include "debug_p.h"
24
25
#include "lens.h"
25
26
#include "hotkey.h"
26
27
#include "hotkeymonitor.h"
27
28
 
28
29
// Qt
29
 
#include <QDebug>
30
30
#include <QKeySequence>
31
31
 
32
32
// libunity-core
160
160
            m_shortcutMapper.setMapping(hk, lens->id());
161
161
            connect(hk, SIGNAL(pressed()), &m_shortcutMapper, SLOT(map()));
162
162
        } else {
163
 
            qWarning() << "Couldn't parse shortcut for Lens. Shorcut is " << lens->shortcut();
 
163
            UQ_WARNING << "Couldn't parse shortcut for Lens. Shorcut is " << lens->shortcut();
164
164
        }
165
165
    }
166
166
}