Small patch to kprogress.cpp

Michael Ritzert kde at ritzert.de
Sun Jun 20 13:25:48 BST 2004


Hi all,

I think this somehow slipped in when the other non-const methods were
marked deprecated. Without this function using KProgressDialog would not
be possible. It also isn't marked for removal in kprogress.h.

Index: kprogress.cpp
===================================================================
RCS file: /home/kde/kdelibs/kdeui/kprogress.cpp,v
retrieving revision 1.51
diff -u -p -r1.51 kprogress.cpp
--- kprogress.cpp       30 Jan 2004 10:34:34 -0000      1.51
+++ kprogress.cpp       20 Jun 2004 12:21:20 -0000
@@ -274,7 +274,6 @@ bool KProgressDialog::allowCancel() cons
     return mAllowCancel;
 }

-// ### KDE 4 remove
 KProgress* KProgressDialog::progressBar()
 {
     return mProgressBar;

Can I commit?

Thanks,
Michael





More information about the kde-core-devel mailing list