Commit d5246f9c authored by Christoph Feck's avatar Christoph Feck

KF5 port: kWarning -> qDebug

parent 4507e6d6
......@@ -22,6 +22,7 @@
***************************************************************************/
// include files for QT
#include <QDebug>
#include <QDir>
#include <QPointer>
#include <QPrintDialog>
......@@ -49,7 +50,6 @@
#include <klocale.h>
#include <kconfig.h>
#include <kconfiggroup.h>
#include <kdebug.h>
#include <kstandardaction.h>
#include <khelpmenu.h>
#include <kimageio.h>
......@@ -480,7 +480,7 @@ void KmagApp::setZoomIndex(int index)
{
if(index < 0 || index >= (int)zoomArray.size()) {
// the index is invalid
kWarning() << "Invalid index!" ;
qDebug() << "Invalid index!" ;
return;
} else if((int)m_zoomIndex == index) {
// do nothing!
......@@ -516,7 +516,7 @@ void KmagApp::setRotationIndex(int index)
{
if(index < 0 || index >= (int)rotationArray.size()) {
// the index is invalid
kWarning() << "Invalid index!" ;
qDebug() << "Invalid index!" ;
return;
} else if((int)m_rotationIndex == index) {
// do nothing!
......@@ -536,7 +536,7 @@ void KmagApp::setFPSIndex(int index)
{
if(index < 0 || index >= (int)fpsArray.size()) {
// the index is invalid
kWarning() << "Invalid index!" ;
qDebug() << "Invalid index!" ;
return;
} else if((int)m_fpsIndex == index) {
// do nothing!
......@@ -556,7 +556,7 @@ void KmagApp::setColorIndex(int index)
{
if(index < 0 || index >= (int)colorArray.size()) {
// the index is invalid
kWarning() << "Invalid index!" ;
qDebug() << "Invalid index!" ;
return;
} else if((int)m_colorIndex == index) {
// do nothing!
......
......@@ -46,7 +46,6 @@
// include files for KDE
#include <kapplication.h>
#include <kcursor.h>
#include <kdebug.h>
#include <klocale.h>
#ifdef QAccessibilityClient_FOUND
#include <qaccessibilityclient/accessibleobject.h>
......@@ -402,7 +401,6 @@ void KMagZoomView::paintMouseCursor(QPaintDevice *dev, const QPoint &mousePos)
QWidget *dummy = KApplication::topLevelAt(QCursor::pos());
if(!dummy)
break;
kDebug() << ">" << dummy->objectName() << ":" << dummy->cursor().shape() << "-";
switch(this->cursor().shape()) {
case Qt::ArrowCursor :
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment