Commit f0b07856 authored by Jan Möbius's avatar Jan Möbius

Line endings

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10648 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 2a77850e
......@@ -126,19 +126,19 @@ void CoreWidget::showAboutWidget( ) {
#ifdef WIN32
// Define memory structure
MEMORYSTATUSEX ms;
// Set the size ( required according to spec ... why???? )
ms.dwLength = sizeof (ms);
// Get the info
GlobalMemoryStatusEx(&ms);
// Output to widget
aboutWidget_->OpenFlipperAbout->append(tr("Physical Memory:\t")+ QString::number(ms.ullAvailPhys/1024/1024) + "MB/"+
QString::number(ms.ullTotalPhys/1024/1024) + "MB used ("+
QString::number(ms.dwMemoryLoad) + "%)");
aboutWidget_->OpenFlipperAbout->append(tr("Pagefile Memory:\t")+ QString::number(ms.ullAvailPageFile/1024/1024) + "MB/"
+ QString::number(ms.ullTotalPageFile/1024/1024) + "MB used");
MEMORYSTATUSEX ms;
// Set the size ( required according to spec ... why???? )
ms.dwLength = sizeof (ms);
// Get the info
GlobalMemoryStatusEx(&ms);
// Output to widget
aboutWidget_->OpenFlipperAbout->append(tr("Physical Memory:\t")+ QString::number(ms.ullAvailPhys/1024/1024) + "MB/"+
QString::number(ms.ullTotalPhys/1024/1024) + "MB used ("+
QString::number(ms.dwMemoryLoad) + "%)");
aboutWidget_->OpenFlipperAbout->append(tr("Pagefile Memory:\t")+ QString::number(ms.ullAvailPageFile/1024/1024) + "MB/"
+ QString::number(ms.ullTotalPageFile/1024/1024) + "MB used");
#elif defined ARCH_DARWIN
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment