Update tweaking.
This commit is contained in:
parent
9b8cbfc0f0
commit
0ead577cac
|
@ -466,11 +466,11 @@ include_directories (
|
|||
# Setup compilation for Qt 5.
|
||||
if(${USE_QT_5})
|
||||
add_executable(${EXE_NAME} WIN32 MACOSX_BUNDLE
|
||||
${APP_SOURCES}
|
||||
${APP_FORMS}
|
||||
${APP_RCC}
|
||||
${APP_QM}
|
||||
)
|
||||
${APP_SOURCES}
|
||||
${APP_FORMS}
|
||||
${APP_RCC}
|
||||
${APP_QM}
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
target_link_libraries(${EXE_NAME} Qt5::WinMain)
|
||||
|
|
|
@ -78,8 +78,10 @@ void FormUpdate::checkForUpdates() {
|
|||
tr("New release available."),
|
||||
tr("This is new version which can be\ndownloaded and installed."));
|
||||
// TODO: Display "update" button if
|
||||
// URL of file for current platform
|
||||
// URL of file for current platform (Windows or OS2)
|
||||
// is available.
|
||||
// TODO: Tady po stisku update tlacitka se provede
|
||||
// stazeni archivu do tempu.
|
||||
#else
|
||||
m_ui->m_lblStatus->setStatus(WidgetWithStatus::Ok,
|
||||
tr("New release available."),
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="lineWrapMode">
|
||||
<enum>QTextEdit::NoWrap</enum>
|
||||
<enum>QTextEdit::WidgetWidth</enum>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
|
@ -65,8 +65,8 @@
|
|||
<string notr="true"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8pt;"><br /></p></body></html></string>
|
||||
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;"><br /></p></body></html></string>
|
||||
</property>
|
||||
<property name="textInteractionFlags">
|
||||
<set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
|
||||
|
|
Loading…
Reference in New Issue