From df1e6aa11bf7031bd2320f2def9b7cebfdd7a9f0 Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 18 May 2016 14:29:23 +0200 Subject: [PATCH 1/2] Changed: New command /version to display Ryzom client version --HG-- branch : develop --- code/ryzom/client/src/commands.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/ryzom/client/src/commands.cpp b/code/ryzom/client/src/commands.cpp index cb8c5d9df..59c2c9fa6 100644 --- a/code/ryzom/client/src/commands.cpp +++ b/code/ryzom/client/src/commands.cpp @@ -5806,3 +5806,10 @@ NLMISC_COMMAND(playedTime, "Display character played time", "") CInterfaceManager::getInstance()->displaySystemInfo(msg, "AROUND"); return true; } + +NLMISC_COMMAND(version, "Display client version", "") +{ + ucstring msg = getDebugVersion(); + CInterfaceManager::getInstance()->displaySystemInfo(msg, "AROUND"); + return true; +} From 1ba31e36d774be12504b3bb8a702b283b8da0f44 Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 18 May 2016 14:30:33 +0200 Subject: [PATCH 2/2] Changed: Disable maximize button in window title bar --HG-- branch : develop --- code/ryzom/tools/client/ryzom_installer/src/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/ryzom/tools/client/ryzom_installer/src/mainwindow.cpp b/code/ryzom/tools/client/ryzom_installer/src/mainwindow.cpp index c98734406..5fd114d0f 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/mainwindow.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/mainwindow.cpp @@ -31,6 +31,8 @@ CMainWindow::CMainWindow():QMainWindow(), m_statusLabel(NULL) { setupUi(this); + setWindowFlags(windowFlags() & ~Qt::WindowMaximizeButtonHint); + // downloader m_downloader = new CDownloader(this);