Commit 97d0d537 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: constify rootkey member for QVLCRegistry

parent 14034640
...@@ -31,9 +31,8 @@ ...@@ -31,9 +31,8 @@
#include "registry.hpp" #include "registry.hpp"
QVLCRegistry::QVLCRegistry( HKEY rootKey ) QVLCRegistry::QVLCRegistry( HKEY rootKey )
{ : m_RootKey( rootKey )
m_RootKey = rootKey; {}
}
bool QVLCRegistry::RegistryKeyExists( const char *path ) bool QVLCRegistry::RegistryKeyExists( const char *path )
{ {
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
class QVLCRegistry class QVLCRegistry
{ {
private: private:
HKEY m_RootKey; const HKEY m_RootKey;
char m_pathBuffer[256]; char m_pathBuffer[256];
public: public:
QVLCRegistry(HKEY rootKey); QVLCRegistry(HKEY rootKey);
......
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