Skip to content
This repository was archived by the owner on Aug 12, 2022. It is now read-only.

Commit d8bf3fb

Browse files
committed
Fixed bug when thumbnails were shown incorrectly in the Steam Cloud.
Minor UI improvement.
1 parent 5fdff8e commit d8bf3fb

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

SteaScree.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ HEADERS += mainwindow.h
1818

1919
FORMS += mainwindow.ui
2020

21-
VERSION = 1.0.1.0
21+
VERSION = 1.0.2.0
2222

2323
win32:RC_ICONS = res/icons/SteaScree.ico
2424
win32:QMAKE_TARGET_COMPANY = Foyl

mainwindow.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,8 +554,8 @@ void MainWindow::pushScreenshots()
554554
lines.insert(closing++, "\t\t{");
555555
lines.insert(closing++, "\t\t\t\"type\"\t\t\"1\"");
556556
lines.insert(closing++, "\t\t\t\"filename\"\t\t\"" + selectedGameID + "/screenshots/" + filename + "_1.jpg\"");
557-
lines.insert(closing++, "\t\t\t\"thumbnail\"\t\t\"0\"");
558-
lines.insert(closing++, "\t\t\t\"vrfilename\"\t\t\"0\"");
557+
lines.insert(closing++, "\t\t\t\"thumbnail\"\t\t\"" + selectedGameID + "/screenshots/thumbnails/" + filename + "_1.jpg\"");
558+
lines.insert(closing++, "\t\t\t\"vrfilename\"\t\t\"\"");
559559
lines.insert(closing++, "\t\t\t\"imported\"\t\t\"0\"");
560560
lines.insert(closing++, "\t\t\t\"width\"\t\t\"" + QString::number(width) + "\"");
561561
lines.insert(closing++, "\t\t\t\"heigth\"\t\t\"" + QString::number(heigth) + "\"");

mainwindow.ui

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@
624624
</property>
625625
<property name="sizeHint" stdset="0">
626626
<size>
627-
<width>40</width>
627+
<width>1</width>
628628
<height>20</height>
629629
</size>
630630
</property>
@@ -669,7 +669,7 @@
669669
</property>
670670
<property name="sizeHint" stdset="0">
671671
<size>
672-
<width>40</width>
672+
<width>1</width>
673673
<height>20</height>
674674
</size>
675675
</property>
@@ -711,7 +711,7 @@
711711
</property>
712712
<property name="sizeHint" stdset="0">
713713
<size>
714-
<width>40</width>
714+
<width>1</width>
715715
<height>20</height>
716716
</size>
717717
</property>

0 commit comments

Comments
 (0)