Deprecate KeePassHTTP and introduce WITH_XC_NETWORKING CMake option

This commit is contained in:
Janek Bevendorff
2018-01-17 00:56:47 +01:00
parent f2b3181735
commit f520a0f272
17 changed files with 127 additions and 43 deletions

View File

@@ -1,5 +1,3 @@
add_subdirectory(qhttp)
if(WITH_XC_HTTP)
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})

View File

@@ -39,6 +39,8 @@ OptionDialog::OptionDialog(QWidget *parent) :
m_ui->tabWidget->setEnabled(m_ui->enableHttpServer->isChecked());
connect(m_ui->enableHttpServer, SIGNAL(toggled(bool)), m_ui->tabWidget, SLOT(setEnabled(bool)));
m_ui->deprecationNotice->setOpenExternalLinks(true);
}
OptionDialog::~OptionDialog()

View File

@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>577</width>
<height>404</height>
<width>803</width>
<height>433</height>
</rect>
</property>
<property name="windowTitle">
@@ -26,6 +26,13 @@
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="deprecationNotice">
<property name="text">
<string>&lt;p&gt;&lt;b&gt;NOTE:&lt;/b&gt; KeePassHTTP has been deprecated and will be removed in the future.&lt;br&gt;Please switch to keepassxc-browser instead! For help with migration, visit our &lt;a href=&quot;https://keepassxc.org/docs/keepassxc-browser-migration&quot;&gt;keepassxc-browser migration guide&lt;/a&gt;.&lt;/p&gt;</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="enableHttpServer">
<property name="toolTip">