We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a023e12 commit eeb1791Copy full SHA for eeb1791
1 file changed
Src/Operate.cpp
@@ -178,12 +178,13 @@ QString COperate::GetSettingsFile()
178
{
179
if(m_szSettings.isEmpty())
180
181
+ QString szId = Id();
182
+ static QRegularExpression exp("[-@:#%!^&* .]");
183
+ szId = szId.replace(exp, "_");
184
m_szSettings = RabbitCommon::CDir::Instance()->GetDirUserData()
185
+ QDir::separator()
- + Id()
186
+ + szId
187
+ ".rrc";
- static QRegularExpression exp("[-@:#%!^&* .]");
- m_szSettings = m_szSettings.replace(exp, "_");
188
}
189
return m_szSettings;
190
0 commit comments