diff --git a/tests/osd/CMakeLists.txt b/tests/osd/CMakeLists.txt index b731b90..51b2eb2 100644 --- a/tests/osd/CMakeLists.txt +++ b/tests/osd/CMakeLists.txt @@ -1,17 +1,17 @@ include_directories(${CMAKE_SOURCE_DIR}/kcm/src) add_executable(osdtest main.cpp osdtest.cpp ../../kded/osd.cpp ../../kded/osdmanager.cpp ../../kcm/src/utils.cpp) target_link_libraries(osdtest Qt5::Core Qt5::DBus Qt5::Quick Qt5::Qml KF5::Screen - KF5::PlasmaQuick + #KF5::PlasmaQuick KF5::I18n KF5::Declarative - KF5::IconThemes - KF5::QuickAddons + #KF5::IconThemes + #KF5::QuickAddons ) add_test(kscreen-kded-osdtest osdtest) ecm_mark_as_test(osdtest) diff --git a/tests/osd/osdtest.cpp b/tests/osd/osdtest.cpp index 5b2ed88..f6bdd50 100644 --- a/tests/osd/osdtest.cpp +++ b/tests/osd/osdtest.cpp @@ -1,55 +1,55 @@ /************************************************************************************* * Copyright 2016 Sebastian Kügler * * * * This library is free software; you can redistribute it and/or * * modify it under the terms of the GNU Lesser General Public * * License as published by the Free Software Foundation; either * * version 2.1 of the License, or (at your option) any later version. * * * * This library is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * * Lesser General Public License for more details. * * * * You should have received a copy of the GNU Lesser General Public * * License along with this library; if not, write to the Free Software * * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * *************************************************************************************/ #include "osdtest.h" #include "../../kded/osd.h" #include "../../kded/osdmanager.h" #include "../../kcm/src/utils.h" #include #include #include #include #include #include #include #include Q_LOGGING_CATEGORY(KSCREEN_KDED, "kscreen.kded") namespace KScreen { OsdTest::OsdTest(QObject *parent) : QObject(parent) { } OsdTest::~OsdTest() { } void OsdTest::start() { QTimer::singleShot(5500, qApp, &QCoreApplication::quit); KScreen::OsdManager::self()->showOutputIdentifiers(); - QTimer::singleShot(200, KScreen::OsdManager::self(), &KScreen::OsdManager::showOutputIdentifiers); + //QTimer::singleShot(200, KScreen::OsdManager::self(), &KScreen::OsdManager::showOutputIdentifiers); } } // ns \ No newline at end of file