From c616fab9053b07ed30508ab714de876409d82653 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 13 Jan 2024 12:34:35 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- kolourpaint/patches/doc_resize_no_flicker.diff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kolourpaint/patches') diff --git a/kolourpaint/patches/doc_resize_no_flicker.diff b/kolourpaint/patches/doc_resize_no_flicker.diff index 22565194..112b48d1 100644 --- a/kolourpaint/patches/doc_resize_no_flicker.diff +++ b/kolourpaint/patches/doc_resize_no_flicker.diff @@ -389,7 +389,7 @@ diff -u -p -r1.7 kpviewscrollablecontainer.cpp + //m_resizeLinesNeedErase = false; + - QTimer::singleShot (0, this, SLOT (slotContentsMoved ())); + QTimer::singleShot (0, this, TQ_SLOT (slotContentsMoved ())); } @@ -874,9 +982,27 @@ void kpViewScrollableContainer::slotCont << " grip=" << grip << endl; @@ -466,7 +466,7 @@ diff -u -p -r1.7 kpviewscrollablecontainer.cpp + QScrollView::windowActivationChange (wasActive); + + // Wait for m_view to update -+ QTimer::singleShot (0, this, SLOT (windowActivationChanged ())); ++ QTimer::singleShot (0, this, TQ_SLOT (windowActivationChanged ())); +} + + -- cgit v1.2.1