Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

Commit

Permalink
Merge pull request #583 from jat001/patch-1
Browse files Browse the repository at this point in the history
fix #577
  • Loading branch information
librehat authored Oct 19, 2017
2 parents 655d7a3 + b5517fb commit 7976d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/confighelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ void ConfigHelper::startAllAutoStart(const ConnectionTableModel& model)
void ConfigHelper::setStartAtLogin()
{
QString applicationName = "Shadowsocks-Qt5";
QString applicationFilePath = QCoreApplication::applicationFilePath();
QString applicationFilePath = QDir::toNativeSeparators(QCoreApplication::applicationFilePath());
#if defined(Q_OS_WIN)
QSettings settings("HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", QSettings::NativeFormat);
#elif defined(Q_OS_LINUX)
Expand Down

0 comments on commit 7976d33

Please sign in to comment.