mirror of
https://github.com/savoirfairelinux/jami-client-qt.git
synced 2026-01-05 12:21:37 +08:00
mainapp: remove log to vs console
This should be added directly to the logger in jamid. Change-Id: I5cc2d1b8e2767325d8228964bcc27c266d12ad43
This commit is contained in:
@@ -77,19 +77,6 @@ ScreenInfo::setCurrentFocusWindow(QWindow* window)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
MainApplication::vsConsoleDebug()
|
||||
{
|
||||
#ifdef _MSC_VER
|
||||
// Print debug to output window if using VS.
|
||||
QObject::connect(&lrcInstance_->behaviorController(),
|
||||
&lrc::api::BehaviorController::debugMessageReceived,
|
||||
[](const QString& message) {
|
||||
OutputDebugStringA((message + "\n").toStdString().c_str());
|
||||
});
|
||||
#endif
|
||||
}
|
||||
|
||||
MainApplication::MainApplication(int& argc, char** argv)
|
||||
: QApplication(argc, argv)
|
||||
{
|
||||
@@ -166,10 +153,6 @@ MainApplication::init()
|
||||
[this] { engine_->quit(); },
|
||||
Qt::DirectConnection);
|
||||
|
||||
if (runOptions_[Option::DebugToConsole].toBool()) {
|
||||
vsConsoleDebug();
|
||||
}
|
||||
|
||||
auto downloadPath = settingsManager_->getValue(Settings::Key::DownloadPath);
|
||||
auto allowTransferFromUntrusted = settingsManager_->getValue(Settings::Key::AllowFromUntrusted)
|
||||
.toBool();
|
||||
|
||||
@@ -71,7 +71,6 @@ public:
|
||||
enum class Option {
|
||||
StartMinimized = 0,
|
||||
Debug,
|
||||
DebugToConsole,
|
||||
UpdateUrl,
|
||||
MuteJamid,
|
||||
TerminationRequested,
|
||||
@@ -98,7 +97,6 @@ Q_SIGNALS:
|
||||
void closeRequested();
|
||||
|
||||
private:
|
||||
void vsConsoleDebug();
|
||||
void initLrc(const QString& downloadUrl, ConnectivityMonitor* cm, bool logDaemon);
|
||||
void parseArguments();
|
||||
void setApplicationFont();
|
||||
|
||||
Reference in New Issue
Block a user