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

Qt: constify rootkey member for QVLCRegistry

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