~fgaz/qremotecontrol-server

84e6d04a4a831ff5d5f9fdb559922d5a5408685a — Alexander Rössler 9 years ago 783edd9
fixed wrong registry key on windows
1 files changed, 1 insertions(+), 1 deletions(-)

M qremotecontrolserver.cpp
M qremotecontrolserver.cpp => qremotecontrolserver.cpp +1 -1
@@ 1488,7 1488,7 @@ void QRemoteControlServer::setAutostart(bool enabled)
#ifdef Q_OS_WIN
    QSettings key("HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Run", QSettings::NativeFormat);
    if (enabled)
        key.setValue("QRC",qApp->applicationFilePath());
        key.setValue("QRC",QDir::toNativeSeparators(qApp->applicationFilePath()));
    else
        key.remove("QRC");
#endif