- fix: only convert project icon file when it's filename doesn't end with ".ico"
This commit is contained in:
parent
49080b88e1
commit
d840622b58
3
NEWS.md
3
NEWS.md
|
@ -1,3 +1,6 @@
|
|||
Red Panda C++ Version 1.0.1
|
||||
- fix: only convert project icon file when it's filename doesn't end with ".ico"
|
||||
|
||||
Red Panda C++ Version 1.0.0
|
||||
- fix: calculation for code snippets's tab stop positions is not correct
|
||||
- fix: Refresh files view shouldn'tchange open/save dialog's default folder
|
||||
|
|
|
@ -10,7 +10,7 @@ isEmpty(APP_NAME) {
|
|||
}
|
||||
|
||||
isEmpty(APP_VERSION) {
|
||||
APP_VERSION=1.0.0
|
||||
APP_VERSION=1.0.1
|
||||
}
|
||||
|
||||
win32: VERSION = $${APP_VERSION}.0
|
||||
|
|
|
@ -119,7 +119,7 @@ void ProjectGeneralWidget::doSave()
|
|||
QMessageBox::Ok);
|
||||
}
|
||||
}
|
||||
if (QImageWriter::supportedImageFormats().contains("ico")) {
|
||||
if (!mIconPath.endsWith(".ico",PATH_SENSITIVITY) && QImageWriter::supportedImageFormats().contains("ico")) {
|
||||
ui->lbIcon->pixmap()->save(iconPath,"ico");
|
||||
} else
|
||||
QFile::copy(mIconPath, iconPath);
|
||||
|
|
|
@ -17,7 +17,7 @@ SUBDIRS += \
|
|||
|
||||
APP_NAME = RedPandaCPP
|
||||
|
||||
APP_VERSION = 1.0.0
|
||||
APP_VERSION = 1.0.1
|
||||
|
||||
linux: {
|
||||
|
||||
|
|
Loading…
Reference in New Issue