From 093d4eadbe598baeacdd17d169eb9623b122f175 Mon Sep 17 00:00:00 2001 From: LoRd_MuldeR Date: Thu, 11 Apr 2013 00:01:33 +0200 Subject: [PATCH] Updated UPX version on "About" screen. --- src/Dialog_About.cpp | 2 +- src/Dialog_SplashScreen.cpp | 2 ++ src/Global.cpp | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Dialog_About.cpp b/src/Dialog_About.cpp index 7c9ceb6b..bf4b2c14 100644 --- a/src/Dialog_About.cpp +++ b/src/Dialog_About.cpp @@ -781,7 +781,7 @@ void AboutDialog::initSoftwareTab(void) moreAboutText += makeToolText ( tr("UPX - The Ultimate Packer for eXecutables"), - QString(), "v3.08", + QString(), "v3.09", tr("Released under the terms of the GNU Lesser General Public License."), "http://upx.sourceforge.net/" ); diff --git a/src/Dialog_SplashScreen.cpp b/src/Dialog_SplashScreen.cpp index 2bd151ca..07345b45 100644 --- a/src/Dialog_SplashScreen.cpp +++ b/src/Dialog_SplashScreen.cpp @@ -132,6 +132,7 @@ void SplashScreen::showSplash(QThread *thread) { opacity = (i < opacitySteps) ? (OPACITY_DELTA * static_cast(i)) : 1.0; splashScreen->setWindowOpacity(opacity); + splashScreen->update(); QApplication::processEvents(QEventLoop::ExcludeUserInputEvents, FADE_DELAY); SET_TASKBAR_STATE(true); Sleep(FADE_DELAY); @@ -161,6 +162,7 @@ void SplashScreen::showSplash(QThread *thread) { opacity = OPACITY_DELTA * static_cast(i); splashScreen->setWindowOpacity(opacity); + splashScreen->update(); QApplication::processEvents(QEventLoop::ExcludeUserInputEvents, FADE_DELAY); Sleep(FADE_DELAY); } diff --git a/src/Global.cpp b/src/Global.cpp index 07949864..dd8cb16c 100644 --- a/src/Global.cpp +++ b/src/Global.cpp @@ -661,7 +661,7 @@ void lamexp_init_console(const QStringList &argv) //------------------------------------------------------------------- const int flags = _O_WRONLY | _O_U8TEXT; int hCrtStdOut = _open_osfhandle((intptr_t) GetStdHandle(STD_OUTPUT_HANDLE), flags); - int hCrtStdErr = _open_osfhandle((intptr_t) GetStdHandle(STD_ERROR_HANDLE), flags); + int hCrtStdErr = _open_osfhandle((intptr_t) GetStdHandle(STD_ERROR_HANDLE), flags); FILE *hfStdOut = (hCrtStdOut >= 0) ? _fdopen(hCrtStdOut, "wb") : NULL; FILE *hfStdErr = (hCrtStdErr >= 0) ? _fdopen(hCrtStdErr, "wb") : NULL; if(hfStdOut) { *stdout = *hfStdOut; std::cout.rdbuf(new std::filebuf(hfStdOut)); }