Commit fd50a04d authored by David Faure's avatar David Faure

KDialog no longer requires kdelibs4support

parent 29736e45
......@@ -9,10 +9,10 @@ set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
include(FeatureSummary)
include(KDEInstallDirs)
include(KDECMakeSettings)
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include(KDECompilerSettings NO_POLICY_SCOPE)
# Build dependencies
find_package(KF5 REQUIRED COMPONENTS KDELibs4Support KIO DBusAddons)
find_package(KF5 REQUIRED COMPONENTS TextWidgets Notifications GuiAddons IconThemes WindowSystem KIO DBusAddons)
find_package(Qt5DBus CONFIG)
find_package(X11)
......
......@@ -11,7 +11,11 @@ add_executable(kdialog ${kdialog_SRCS})
target_link_libraries(kdialog
KF5::KIOWidgets
KF5::KDELibs4Support
KF5::TextWidgets
KF5::Notifications
KF5::IconThemes
KF5::GuiAddons
KF5::WindowSystem
)
if(Qt5DBus_FOUND)
......@@ -39,8 +43,8 @@ add_executable(kdialog_progress_helper ${kdialog_progress_helper_SRCS})
target_link_libraries(kdialog_progress_helper
KF5::DBusAddons
KF5::I18n
Qt5::Widgets
KF5::KDELibs4Support
)
if (HAVE_X11)
......
......@@ -36,7 +36,6 @@
#include <kwindowsystem.h>
#include <kiconloader.h>
#include <KLocalizedString>
#include <KDialog>
#include <QApplication>
#include <QDate>
......@@ -549,7 +548,6 @@ int main(int argc, char *argv[])
passiveicon,
(QWidget*)0UL, // parent
timeout );
KDialog::centerOnScreen( popup );
QTimer *timer = new QTimer();
QObject::connect( timer, SIGNAL(timeout()), qApp, SLOT(quit()) );
QObject::connect( popup, SIGNAL(clicked()), qApp, SLOT(quit()) );
......
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