Commit 7b5e2d42 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

It compiles fine without kf5 deprecated method

parent bbc08da9
......@@ -99,7 +99,9 @@ set_package_properties(freerdp PROPERTIES
PURPOSE "The xfreerdp binary is needed for RDP support in KRDC (at runtime)"
TYPE RUNTIME
)
if (EXISTS "${CMAKE_SOURCE_DIR}/.git")
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000)
endif()
# NX support is not ready for KDE 4.2; disabled (uwolfer)
# macro_optional_find_package(LibNXCL)
# macro_log_feature(LIBNXCL_FOUND "libnxcl" "NX X compression client library" "http://svn.berlios.de/svnroot/repos/freenx/trunk/freenx-client/nxcl/" FALSE "1.0" "Needed to build Krdc with NX support")
......
......@@ -1056,7 +1056,7 @@ QWidget* MainWindow::newConnectionWidget()
QLabel *addressLabel = new QLabel(i18n("Connect to:"), m_newConnectionWidget);
m_protocolInput = new KComboBox(m_newConnectionWidget);
m_addressInput = new KLineEdit(m_newConnectionWidget);
m_addressInput->setClearButtonShown(true);
m_addressInput->setClearButtonEnabled(true);
m_addressInput->setPlaceholderText(i18n("Type here to connect to an address and filter the list."));
connect(m_addressInput, SIGNAL(textChanged(QString)), remoteDesktopsModelProxy, SLOT(setFilterFixedString(QString)));
......@@ -1194,7 +1194,7 @@ void MainWindow::createDockWidget()
KLineEdit *filterLineEdit = new KLineEdit(remoteDesktopsDockLayoutWidget);
filterLineEdit->setPlaceholderText(i18n("Filter"));
filterLineEdit->setClearButtonShown(true);
filterLineEdit->setClearButtonEnabled(true);
connect(filterLineEdit, SIGNAL(textChanged(QString)), remoteDesktopsModelProxy, SLOT(setFilterFixedString(QString)));
remoteDesktopsDockLayout->addWidget(filterLineEdit);
remoteDesktopsDockLayout->addWidget(m_dockWidgetTableView);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment