diff options
author | Slávek Banko <[email protected]> | 2018-10-29 18:21:41 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2018-10-29 18:21:41 +0100 |
commit | 7cc4356bc2eceb5a66c2263bff44aa472d2ca290 (patch) | |
tree | 08047b60c477dc7026c7623e25770825b5ce7e5c /src/modules/reguser | |
parent | 3b217bbf505473102331a7e2ed274fe63a4c3457 (diff) | |
download | kvirc-7cc4356bc2eceb5a66c2263bff44aa472d2ca290.tar.gz kvirc-7cc4356bc2eceb5a66c2263bff44aa472d2ca290.zip |
Fix build with a clean TQt namespace.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/modules/reguser')
-rw-r--r-- | src/modules/reguser/dialog.cpp | 4 | ||||
-rw-r--r-- | src/modules/reguser/edituser.cpp | 2 | ||||
-rw-r--r-- | src/modules/reguser/wizard.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/reguser/dialog.cpp b/src/modules/reguser/dialog.cpp index 254c5fe3..199f87af 100644 --- a/src/modules/reguser/dialog.cpp +++ b/src/modules/reguser/dialog.cpp @@ -862,7 +862,7 @@ void KviRegisteredUsersDialog::importClicked() img = io.image(); #endif - if(img.isNull())debug("Ops.. readed a null image ?"); + if(img.isNull())tqDebug("Ops.. readed a null image ?"); KviStr fName = u->name(); kvi_encodeFileName(fName); @@ -878,7 +878,7 @@ void KviRegisteredUsersDialog::importClicked() if(!img.save(fPath.ptr(),"PNG")) { - debug("Can't save image %s",fPath.ptr()); + tqDebug("Can't save image %s",fPath.ptr()); } else { u->setProperty("avatar",fPath.ptr()); } diff --git a/src/modules/reguser/edituser.cpp b/src/modules/reguser/edituser.cpp index 115cf4be..956b277e 100644 --- a/src/modules/reguser/edituser.cpp +++ b/src/modules/reguser/edituser.cpp @@ -597,7 +597,7 @@ void KviRegisteredUserEntryDialog::okClicked() { // ops... no way // FIXME: spit an error message ? - debug("Ops.. something wrong with the regusers db"); + tqDebug("Ops.. something wrong with the regusers db"); accept(); return; } diff --git a/src/modules/reguser/wizard.cpp b/src/modules/reguser/wizard.cpp index d93fcf61..32034358 100644 --- a/src/modules/reguser/wizard.cpp +++ b/src/modules/reguser/wizard.cpp @@ -321,7 +321,7 @@ void KviRegistrationWizard::accept() { // ops... no way // FIXME: spit an error message ? - debug("Ops.. something wrong with the regusers db"); + tqDebug("Ops.. something wrong with the regusers db"); //delete this; return; } |