Commit graph

7 commits

Author SHA1 Message Date
Sune Vuorela
e26731b4fc Port deprecated event positions
Most stuff are in floating point numbers, not rects, nowadays.
2024-01-03 15:49:54 +00:00
Sune Vuorela
70acf82817 Port from removed KConfigGroup keys api 2023-12-21 13:06:42 +01:00
Sune Vuorela
22550bbc05 Improve cppcheck configuration
- Ignore autotests sources
- Teach cppcheck about a okular specific define
- Keep the default options from the KDE setup

This at least for me brings the cppcheck entries from "unusable" to "something that probably should be looked into"
2023-08-05 08:25:36 +00:00
Albert Astals Cid
137cfec205 Fix icon not showing on Windows
For some reason QIcon::fromTheme(QStringLiteral("okular")) doesn't
return the proper icon on WelcomeScreen construction, i'm guessing
that's a bit too early, though haven't investigated why
2023-05-13 10:52:00 +00:00
Eugene Popov
f2db7b5288 [WelcomeView] Improve locating a file in the file manager
Use KIO::highlightInFileManager to highlight a file in the file manager.
2022-10-04 21:05:39 +00:00
Kai Uwe Broulik
adc01be263 Don't create a KIconLoader instance
Just to load an icon, we can use `QIcon::fromTheme` for that.
2022-03-29 20:43:05 +02:00
Jiří Wolker
f24aa63a97 Create welcome screen
This screen is similar to the one in Ark, but also shows you a list of
recently-opened documents.
2022-03-08 04:24:45 +00:00