Stick to astlye, refacatoring.
This commit is contained in:
parent
dedf70a8a9
commit
b0ff27c232
14 changed files with 423 additions and 2348 deletions
|
|
@ -28,7 +28,16 @@ if [ $# -eq 0 ]; then
|
|||
fi
|
||||
|
||||
ASTYLE_CMD="astyle"
|
||||
ASTYLE_RC="$(dirname $0)/.astylerc"
|
||||
|
||||
if [[ "$(uname -o)" == "Cygwin" ]]; then
|
||||
ASTYLE_RC="$(cygpath -w $(realpath $(dirname $0)))/.astylerc"
|
||||
else
|
||||
ASTYLE_RC="$(realpath $(dirname $0))/.astylerc"
|
||||
fi
|
||||
|
||||
ASTYLE_RC="$(cygpath -w $(realpath $(dirname $0)))/.astylerc"
|
||||
|
||||
echo "ASTYLE config file: $ASTYLE_RC"
|
||||
|
||||
# Check all args.
|
||||
for dir in "$@"; do
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -55,7 +55,7 @@
|
|||
#define ID_RECYCLE_BIN -2
|
||||
#define TRAY_ICON_BUBBLE_TIMEOUT 20000
|
||||
#define CLOSE_LOCK_TIMEOUT 500
|
||||
#define DOWNLOAD_TIMEOUT 5000
|
||||
#define DOWNLOAD_TIMEOUT 15000
|
||||
#define MESSAGES_VIEW_DEFAULT_COL 170
|
||||
#define MESSAGES_VIEW_MINIMUM_COL 36
|
||||
#define FEEDS_VIEW_COLUMN_COUNT 2
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@
|
|||
<number>100</number>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>45000</number>
|
||||
<number>120000</number>
|
||||
</property>
|
||||
<property name="singleStep">
|
||||
<number>100</number>
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@
|
|||
|
||||
class UpdateUrl {
|
||||
public:
|
||||
|
||||
QString m_fileUrl;
|
||||
QString m_name;
|
||||
QString m_size;
|
||||
|
|
@ -37,10 +38,12 @@ class UpdateUrl {
|
|||
|
||||
class UpdateInfo {
|
||||
public:
|
||||
|
||||
QString m_availableVersion;
|
||||
QString m_changes;
|
||||
QList<UpdateUrl> m_urls;
|
||||
QDateTime m_date;
|
||||
|
||||
QList<UpdateUrl> m_urls;
|
||||
};
|
||||
|
||||
Q_DECLARE_METATYPE(UpdateInfo)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue