mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Desktop: Fix build for Qt6
This seems to be needed to make the build work with Qt6, which is needed for M1 based Macs. Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
e60baff940
commit
15bf145f14
3 changed files with 6 additions and 6 deletions
|
@ -54,7 +54,7 @@ QVariant YearStatisticsItem::data(int column, int role) const
|
|||
switch (column) {
|
||||
case YEAR:
|
||||
if (stats_interval.is_trip) {
|
||||
ret = stats_interval.location;
|
||||
ret = QString(stats_interval.location);
|
||||
} else {
|
||||
ret = stats_interval.period;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue