Commit Graph

13 Commits

Author SHA1 Message Date
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Mat Sutcliffe
6c05c5249d When calling arg() on a QString constructed from a literal, use QStringLiteral. 2019-02-22 20:23:47 +00:00
Roland Winklmeier
4cf3bc580f Use case sensitive name of Windows header files 2018-08-25 22:12:06 +02:00
Roland Winklmeier
9b3b645c12 Use nullptr 2018-08-25 22:12:05 +02:00
Mathew Sutcliffe
3ea9e33e6b refs #937 Resolved clazy warnings: pass-by-value/reference. 2017-04-19 19:31:42 +01:00
Roland Winklmeier
53abc6aaa3 Include cleanup
refs #918
2017-04-18 00:05:59 +01:00
Roland Winklmeier
5958669bf1 Refactor queryToQString to queryStringFileInfo
String building is now done using QString::arg.
Renamed the method to clearer state what it does.

refs #918
2017-04-18 00:05:57 +01:00
Roland Winklmeier
959c290108 Initialize value type and cast to void pointer before passing to VerQueryValue
refs #918
2017-04-18 00:05:54 +01:00
Roland Winklmeier
621f6f6ca7 Fix -fpermissive error with MinGW
Changed const vector output buffer parameter to non-const raw pointer.
Writing to const vector is not possible, and vector was not necessary

refs #918
2017-04-18 00:05:52 +01:00
Roland Winklmeier
a92a9f13f4 Use QString::arg() instead of QString::sprintf()
QString::sprintf() and also QString::asprintf are both not recommended
to be used in new code.

refs #918
2017-04-18 00:05:50 +01:00
Roland Winklmeier
87420e7890 Use C++11 features in CWinDllUtils
* Use std::vector::data() to get a raw pointer
* Use reinterpret_cast instead of C style cast
* Consistenly use generic WINAPI functions without suffix

refs #918
2017-04-18 00:05:48 +01:00
Klaus Basan
389c771c22 refs #910, gcc missing initializer for member 2017-04-18 00:00:13 +01:00
Klaus Basan
099680c054 refs #910, obtain DLL and modules info
windows specific utility functions to obtain info about DLL / DLLs loaded
(to be used to test P3D/FSX Simconnect DLLs)
2017-04-18 00:00:04 +01:00