From d83a80f295597e6cd696cf5f308ff7d5545f8629 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 10 Apr 2011 03:15:04 +0000 Subject: Attempt to fix uninitialized starting image issue in shutdown dialog fade-to-gray code git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1227532 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksmserver/shutdowndlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ksmserver/shutdowndlg.cpp') diff --git a/ksmserver/shutdowndlg.cpp b/ksmserver/shutdowndlg.cpp index 4eb8aa686..18ba7d7ce 100644 --- a/ksmserver/shutdowndlg.cpp +++ b/ksmserver/shutdowndlg.cpp @@ -80,7 +80,7 @@ KSMShutdownFeedback::KSMShutdownFeedback() { DCOPRef("kicker", "KMenu").call("hideMenu"); // Make sure the K Menu is completely removed from the screen before taking a snapshot... m_grayImage = TQPixmap(TQPixmap::grabWindow(qt_xrootwin(), 0, 0, TQApplication::desktop()->width(), TQApplication::desktop()->height())).convertToImage(); - m_unfadedImage = TQImage(); + m_unfadedImage = m_grayImage; resize(0, 0); setShown(true); TQTimer::singleShot( 500, this, TQT_SLOT( slotPaintEffect() ) ); -- cgit v1.2.1