Commit d5246f9c authored by Christoph Feck's avatar Christoph Feck

KF5 port: kWarning -> qDebug

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