mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-16 23:29:58 +00:00
another iteration with fix travis tests
This commit is contained in:
@ -18,7 +18,6 @@
|
||||
|
||||
#include "testdpplugin.h"
|
||||
|
||||
#include <KWindowSystem>
|
||||
#include <QtTest>
|
||||
|
||||
#include "awtestlibrary.h"
|
||||
@ -28,7 +27,7 @@
|
||||
void TestDPPlugin::initTestCase()
|
||||
{
|
||||
plugin = new DPAdds(this);
|
||||
m_isKwinActive = checkKwinStatus();
|
||||
m_isKwinActive = AWTestLibrary::isKWinActive();
|
||||
}
|
||||
|
||||
|
||||
@ -114,10 +113,4 @@ void TestDPPlugin::test_tooltipImage()
|
||||
}
|
||||
|
||||
|
||||
bool TestDPPlugin::checkKwinStatus() const
|
||||
{
|
||||
return KWindowSystem::workArea().isValid();
|
||||
}
|
||||
|
||||
|
||||
QTEST_MAIN(TestDPPlugin);
|
||||
|
Reference in New Issue
Block a user