Fix sshagent autouic

This commit is contained in:
thez3ro 2018-01-03 01:02:44 +01:00
parent ad8fca259f
commit a89f57a2df
No known key found for this signature in database
GPG Key ID: F628F9E41DD7C073
3 changed files with 8 additions and 3 deletions

View File

@ -17,6 +17,7 @@
*/ */
#include "AgentSettingsWidget.h" #include "AgentSettingsWidget.h"
#include "ui_AgentSettingsWidget.h"
#include "core/Config.h" #include "core/Config.h"
AgentSettingsWidget::AgentSettingsWidget(QWidget* parent) AgentSettingsWidget::AgentSettingsWidget(QWidget* parent)
@ -26,6 +27,10 @@ AgentSettingsWidget::AgentSettingsWidget(QWidget* parent)
m_ui->setupUi(this); m_ui->setupUi(this);
} }
AgentSettingsWidget::~AgentSettingsWidget()
{
}
void AgentSettingsWidget::loadSettings() void AgentSettingsWidget::loadSettings()
{ {
m_ui->enableSSHAgentCheckBox->setChecked(config()->get("SSHAgent", false).toBool()); m_ui->enableSSHAgentCheckBox->setChecked(config()->get("SSHAgent", false).toBool());

View File

@ -21,7 +21,6 @@
#include <QWidget> #include <QWidget>
#include <QScopedPointer> #include <QScopedPointer>
#include "ui_AgentSettingsWidget.h"
namespace Ui { namespace Ui {
class AgentSettingsWidget; class AgentSettingsWidget;
@ -32,8 +31,7 @@ class AgentSettingsWidget : public QWidget
Q_OBJECT Q_OBJECT
public: public:
explicit AgentSettingsWidget(QWidget* parent = nullptr); explicit AgentSettingsWidget(QWidget* parent = nullptr);
~AgentSettingsWidget();
signals:
public slots: public slots:
void loadSettings(); void loadSettings();

View File

@ -1,4 +1,6 @@
if(WITH_XC_SSHAGENT) if(WITH_XC_SSHAGENT)
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
set(sshagent_SOURCES set(sshagent_SOURCES
bcrypt_pbkdf.cpp bcrypt_pbkdf.cpp
blowfish.c blowfish.c