|
|
|
|
@ -30,6 +30,7 @@
@@ -30,6 +30,7 @@
|
|
|
|
|
#include "src/core/core.h" |
|
|
|
|
#include "src/core/coreav.h" |
|
|
|
|
#include "src/nexus.h" |
|
|
|
|
#include "src/persistence/paths.h" |
|
|
|
|
#include "src/persistence/profile.h" |
|
|
|
|
#include "src/persistence/settings.h" |
|
|
|
|
#include "src/widget/gui.h" |
|
|
|
|
@ -107,8 +108,7 @@ void AdvancedForm::on_btnExportLog_clicked()
@@ -107,8 +108,7 @@ void AdvancedForm::on_btnExportLog_clicked()
|
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
QString logFileDir = Settings::getInstance().getAppCacheDirPath(); |
|
|
|
|
QString logfile = logFileDir + "qtox.log"; |
|
|
|
|
QString logfile = Settings::getInstance().getPaths().getLogFilePath(); |
|
|
|
|
|
|
|
|
|
QFile file(logfile); |
|
|
|
|
if (file.exists()) { |
|
|
|
|
@ -126,8 +126,7 @@ void AdvancedForm::on_btnExportLog_clicked()
@@ -126,8 +126,7 @@ void AdvancedForm::on_btnExportLog_clicked()
|
|
|
|
|
|
|
|
|
|
void AdvancedForm::on_btnCopyDebug_clicked() |
|
|
|
|
{ |
|
|
|
|
QString logFileDir = Settings::getInstance().getAppCacheDirPath(); |
|
|
|
|
QString logfile = logFileDir + "qtox.log"; |
|
|
|
|
QString logfile = Settings::getInstance().getPaths().getLogFilePath(); |
|
|
|
|
|
|
|
|
|
QFile file(logfile); |
|
|
|
|
if (!file.exists()) { |
|
|
|
|
|