mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
Compare commits
3 Commits
f6d4f6a6cb
...
73b82180e5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
73b82180e5 | ||
|
|
4db88fa286 | ||
|
|
663526cd49 |
@@ -127,7 +127,7 @@
|
||||
#define VERSION36_BUILD 5000 // released 5/8/23
|
||||
#define VERSION37_BUILD 5005 // released 28/3/25
|
||||
#define VERSION37_SP1 5006 // released 20/11/25
|
||||
#define VERSION38_DEV2601 5010 // (Jan 2026) - latest snapshot 17/1/26
|
||||
#define VERSION38_DEV2601 5010 // (Jan 2026) - latest snapshot 24/1/26
|
||||
|
||||
// will keep changing during testing and before final release
|
||||
#define VERSION31_BUILD VERSION31_UPG
|
||||
|
||||
@@ -110,11 +110,14 @@ ChooseCyclistDialog::getList()
|
||||
|
||||
QListWidgetItem *newone = new QListWidgetItem(name, listWidget);
|
||||
|
||||
// get avatar image if it exists
|
||||
// get avatar image if it exists, otherwise default to noavatar.png
|
||||
QString iconpath = home.absolutePath() + "/" + name + "/config/avatar.png";
|
||||
if (QFile(iconpath).exists()) {
|
||||
QPixmap px(iconpath);
|
||||
newone->setIcon(QIcon(px.scaled(64 *dpiXFactor,64 *dpiYFactor)));
|
||||
} else {
|
||||
QPixmap px(":images/noavatar.png");
|
||||
newone->setIcon(QIcon(px.scaled(64 *dpiXFactor,64 *dpiYFactor)));
|
||||
}
|
||||
|
||||
// taller less spacing
|
||||
@@ -220,6 +223,9 @@ ChooseCyclistDialog::newClicked()
|
||||
if (QFile(iconpath).exists()) {
|
||||
QPixmap px(iconpath);
|
||||
newone->setIcon(QIcon(px.scaled(64 *dpiXFactor,64 *dpiYFactor)));
|
||||
} else {
|
||||
QPixmap px(":images/noavatar.png");
|
||||
newone->setIcon(QIcon(px.scaled(64 *dpiXFactor,64 *dpiYFactor)));
|
||||
}
|
||||
|
||||
// taller less spacing
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user