summaryrefslogtreecommitdiff
path: root/plugins/SessionLoader/Windows/sessionLoader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SessionLoader/Windows/sessionLoader.cpp')
-rw-r--r--plugins/SessionLoader/Windows/sessionLoader.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/SessionLoader/Windows/sessionLoader.cpp b/plugins/SessionLoader/Windows/sessionLoader.cpp
index 5080bdc..121bae0 100644
--- a/plugins/SessionLoader/Windows/sessionLoader.cpp
+++ b/plugins/SessionLoader/Windows/sessionLoader.cpp
@@ -17,7 +17,7 @@
void WindowsSessionLoader::setEnabled(const bool &newValue)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, newValue: "+QString::number(newValue));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, newValue: "+std::to_string(newValue));
//set value into the variable
HKEY ultracopier_regkey;
//for autostart
@@ -30,12 +30,12 @@ void WindowsSessionLoader::setEnabled(const bool &newValue)
if(newValue)
{
if(RegSetValueEx(ultracopier_regkey, TEXT("ultracopier"), 0, REG_SZ, (BYTE*)windowsString, runStringApp.length()*2)!=ERROR_SUCCESS)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"newValue: "+QString::number(newValue)+" failed");
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"newValue: "+std::to_string(newValue)+" failed");
}
else
{
if(RegDeleteValue(ultracopier_regkey, TEXT("ultracopier"))!=ERROR_SUCCESS)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"newValue: "+QString::number(newValue)+" failed");
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"newValue: "+std::to_string(newValue)+" failed");
}
RegCloseKey(ultracopier_regkey);
}
@@ -60,7 +60,7 @@ bool WindowsSessionLoader::getEnabled() const
return temp;
}
-void WindowsSessionLoader::setResources(OptionInterface * options,const QString &writePath,const QString &pluginPath,const bool &portableVersion)
+void WindowsSessionLoader::setResources(OptionInterface * options,const std::string &writePath,const std::string &pluginPath,const bool &portableVersion)
{
Q_UNUSED(options);
Q_UNUSED(writePath);