Added Windows icon.

Use a 16x16 tray icon under Windows.
Fix disk space funcion under Windows.
This commit is contained in:
codestation
2013-09-16 00:46:43 -04:30
parent 6d432bfafb
commit 092e0d9aa0
6 changed files with 11 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ bool getDiskSpace(const QString &dir, quint64 *free, quint64 *total)
{
#ifdef Q_OS_WIN32
if(GetDiskFreeSpaceExW(dir.toStdWString().c_str(), free, total, NULL) != 0) {
if(GetDiskFreeSpaceEx(dir.toStdWString().c_str(), (ULARGE_INTEGER *)free, (ULARGE_INTEGER *)total, NULL) != 0) {
return true;
}