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

Commit

Permalink
fix #577
Browse files Browse the repository at this point in the history
  • Loading branch information
jat001 committed Oct 19, 2017
1 parent 655d7a3 commit b5517fb
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 b5517fb

Please sign in to comment.