Summary: | Weird default height for the main window | ||
---|---|---|---|
Product: | [Applications] kronometer | Reporter: | Elvis Angelaccio <elvis.angelaccio> |
Component: | general | Assignee: | Elvis Angelaccio <elvis.angelaccio> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kronometer/83ee2bb230dd09b8d1e2b67a2931d2d12239094b | Version Fixed In: | 2.0.1 |
Attachments: | Screenshot |
Description
Elvis Angelaccio
2015-08-25 09:53:16 UTC
Created attachment 94213 [details]
Screenshot
Screenshot showing the issue.
Git commit 83ee2bb230dd09b8d1e2b67a2931d2d12239094b by Elvis Angelaccio. Committed on 25/08/2015 at 10:54. Pushed by elvisangelaccio into branch 'master'. Fix MainWindow default height FIXED-IN: 2.0.1 Passing QSize(0, 0) to setupGUI() is a quick workaround for the issue. Btw any QSize smaller than minimumSizeHint() should do the job. However, an actual solution should be found in the future, rather than this workaround. M +2 -1 src/mainwindow.cpp http://commits.kde.org/kronometer/83ee2bb230dd09b8d1e2b67a2931d2d12239094b Git commit 809fe313a3475424dbc74e08c546684ad1988140 by Elvis Angelaccio. Committed on 07/04/2016 at 12:17. Pushed by elvisangelaccio into branch '2.0'. Fix invisible main window with Qt 5.6 The workaround in commit 83ee2bb2 results in an invisible main window with Qt 5.6 This patch is still a workaround, but better than before. M +5 -2 src/mainwindow.cpp http://commits.kde.org/kronometer/809fe313a3475424dbc74e08c546684ad1988140 Git commit c081e3c31e3060a1af66703ad6884a252be34924 by Elvis Angelaccio. Committed on 28/06/2016 at 12:09. Pushed by elvisangelaccio into branch '2.1'. Fix restoring of window size We resize() the main window only when no window size was saved in the config file. Related: bug 361494 FIXED-IN: 2.1.1 M +18 -2 src/mainwindow.cpp M +5 -0 src/mainwindow.h http://commits.kde.org/kronometer/c081e3c31e3060a1af66703ad6884a252be34924 |