Commit ea75c27a authored by Ahmad Samir's avatar Ahmad Samir Committed by Albert Astals Cid
Browse files

[PartTest] Fix testeRectSelectionStartingOnLinks() by hiding info messages

The info message bubble that shows up in the okular window in testeRectSelectionStartingOnLinks()
interfereswith the mosue selection making the test fail on HiDPI monitors
with resolution 3840x2160; hiding the info message lets the unit test pass.
parent cea7d0fa
Pipeline #13469 passed with stage
in 11 minutes and 17 seconds
......@@ -761,8 +761,8 @@ void PartTest::testeRectSelectionStartingOnLinks()
QVariantList dummyArgs;
Okular::Part part(nullptr, nullptr, dummyArgs);
QVERIFY(openDocument(&part, QStringLiteral(KDESRCDIR "data/pdf_with_links.pdf")));
// resize window to avoid problem with selection areas
part.widget()->resize(800, 600);
// hide info messages as they interfere with selection area
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