On Sunday 03 July 2005 23:26, Pedro Lopez-Cabanillas wrote:
> > Anything I forgot ?
>
> keep the sources compatible with KDE 3.x
>
> If you don't mind, I can do the work for KDE 3.1 at least (I don't have a
> machine with KDE 3.0 anymore).
No answers. OK, let's reverse it.
If nobody complains I will commit tomorrow the attached patch against current
CVS HEAD to fix some current incompatibilities with KDE 3.1
Regards,
Pedro
--- gui/compositionview.cpp.old 2005-07-03 17:59:01.000000000 +0200
+++ gui/compositionview.cpp 2005-07-03 23:31:51.000000000 +0200
@@ -1044,7 +1044,11 @@
CompositionView::CompositionView(RosegardenGUIDoc* doc,
CompositionModel* model,
QWidget * parent, const char * name, WFlags f)
+#if KDE_VERSION >= KDE_MAKE_VERSION(3,2,0)
: RosegardenScrollView(parent, name, f | WNoAutoErase|WStaticContents),
+#else
+ : RosegardenScrollView(parent, name, f | WResizeNoErase|WStaticContents),
+#endif
m_model(model),
m_currentItem(0),
m_tool(0),
@@ -1329,7 +1333,7 @@
void CompositionView::slotUpdate(QRect rect)
{
- RG_DEBUG << "CompositionView::slotUpdate() rect " << rect;
+// RG_DEBUG << "CompositionView::slotUpdate() rect " << rect;
slotDrawBufferNeedsRefresh();
refreshDirtyPreviews();
if (rect.isValid())