Adds just a fullscreen window state to kmahjongg. For now the feature won't be saved over session. This will be implemented in future versions.
Diff Detail
Diff Detail
- Repository
- R403 KMahjongg
- Lint
Lint Skipped - Unit
Unit Tests Skipped
src/kmahjongg.cpp | ||
---|---|---|
173 | use KStandardAction::fullScreen ? https://api.kde.org/frameworks/kconfigwidgets/html/namespaceKStandardAction.html#a0e30d17570d5b886e97b1f2cf34ef900 that way you don't have to set the text (which is wrong) nor the icon yourself |
src/kmahjonggui.rc | ||
---|---|---|
17 | You need to increase rc file version (see top of file). |
src/kmahjongg.cpp | ||
---|---|---|
172 | Please use new connect api here. |
src/kmahjongg.cpp | ||
---|---|---|
195 | Signal emitted is a clicked(bool) > change it to toggleFullscreen(bool fullScreen)> not necessary to use m_fullscreenAction->isChecked() |