Remove unused viable #4696
This commit is contained in:
parent
d61b532705
commit
4197fb7a0e
|
@ -20,7 +20,6 @@
|
||||||
|
|
||||||
#include "SslCertificate.h"
|
#include "SslCertificate.h"
|
||||||
#include "FileSysClient.h"
|
#include "FileSysClient.h"
|
||||||
#include "WebClient.h"
|
|
||||||
#include "PluginManager.h"
|
#include "PluginManager.h"
|
||||||
#include "MainWindow.h"
|
#include "MainWindow.h"
|
||||||
|
|
||||||
|
@ -178,7 +177,7 @@ bool PluginWizardPage::isComplete() const
|
||||||
void PluginWizardPage::initializePage()
|
void PluginWizardPage::initializePage()
|
||||||
{
|
{
|
||||||
QWizardPage::initializePage();
|
QWizardPage::initializePage();
|
||||||
if (m_pFileSysClient == NULL) {
|
|
||||||
if (m_Email.isEmpty() ||
|
if (m_Email.isEmpty() ||
|
||||||
m_Password.isEmpty()) {
|
m_Password.isEmpty()) {
|
||||||
updateStatus(tr("Setup complete."));
|
updateStatus(tr("Setup complete."));
|
||||||
|
@ -186,12 +185,10 @@ void PluginWizardPage::initializePage()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_pLabelSpinning->show();
|
if (m_pFileSysClient == NULL) {
|
||||||
|
|
||||||
m_pFileSysClient = new FileSysClient();
|
m_pFileSysClient = new FileSysClient();
|
||||||
m_pWebClient = new WebClient();
|
|
||||||
m_pWebClient->setEmail(m_Email);
|
m_pLabelSpinning->show();
|
||||||
m_pWebClient->setPassword(m_Password);
|
|
||||||
|
|
||||||
QThread* thread = new QThread;
|
QThread* thread = new QThread;
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
#include <QWizardPage>
|
#include <QWizardPage>
|
||||||
|
|
||||||
class FileSysClient;
|
class FileSysClient;
|
||||||
class WebClient;
|
|
||||||
class SslCertificate;
|
class SslCertificate;
|
||||||
class MainWindow;
|
class MainWindow;
|
||||||
|
|
||||||
|
@ -62,7 +61,6 @@ private:
|
||||||
bool m_Finished;
|
bool m_Finished;
|
||||||
QString m_Email;
|
QString m_Email;
|
||||||
QString m_Password;
|
QString m_Password;
|
||||||
WebClient* m_pWebClient;
|
|
||||||
FileSysClient* m_pFileSysClient;
|
FileSysClient* m_pFileSysClient;
|
||||||
PluginManager m_PluginManager;
|
PluginManager m_PluginManager;
|
||||||
SslCertificate* m_pSslCertificate;
|
SslCertificate* m_pSslCertificate;
|
||||||
|
|
Loading…
Reference in New Issue