mirror of https://github.com/procxx/kepka.git
fixed activate-by-mouse Windows behaviour, 0.7.8
This commit is contained in:
parent
eb2bc17578
commit
13887d91d9
|
@ -1,8 +1,8 @@
|
||||||
@echo OFF
|
@echo OFF
|
||||||
|
|
||||||
set "AppVersionStrSmall=0.7.7"
|
set "AppVersionStrSmall=0.7.8"
|
||||||
set "AppVersionStr=0.7.7"
|
set "AppVersionStr=0.7.8"
|
||||||
set "AppVersionStrFull=0.7.7.0"
|
set "AppVersionStrFull=0.7.8.0"
|
||||||
|
|
||||||
echo.
|
echo.
|
||||||
echo Preparing version %AppVersionStr%..
|
echo Preparing version %AppVersionStr%..
|
||||||
|
|
|
@ -222,7 +222,7 @@ cbDefFlat: flatCheckbox {
|
||||||
|
|
||||||
imageRect: sprite(140px, 68px, 22px, 22px);
|
imageRect: sprite(140px, 68px, 22px, 22px);
|
||||||
chkImageRect: sprite(115px, 68px, 22px, 22px);
|
chkImageRect: sprite(115px, 68px, 22px, 22px);
|
||||||
overImageRect: sprite(140px, 68px, 22px, 22px);
|
overImageRect: sprite(190px, 68px, 22px, 22px);
|
||||||
chkOverImageRect: sprite(115px, 68px, 22px, 22px);
|
chkOverImageRect: sprite(115px, 68px, 22px, 22px);
|
||||||
disImageRect: sprite(140px, 43px, 22px, 22px);
|
disImageRect: sprite(140px, 43px, 22px, 22px);
|
||||||
chkDisImageRect: sprite(115px, 43px, 22px, 22px);
|
chkDisImageRect: sprite(115px, 43px, 22px, 22px);
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
Binary file not shown.
Before Width: | Height: | Size: 104 KiB After Width: | Height: | Size: 104 KiB |
|
@ -17,8 +17,8 @@ Copyright (c) 2014 John Preston, https://desktop.telegram.org
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
static const int32 AppVersion = 7007;
|
static const int32 AppVersion = 7008;
|
||||||
static const wchar_t *AppVersionStr = L"0.7.7";
|
static const wchar_t *AppVersionStr = L"0.7.8";
|
||||||
|
|
||||||
static const wchar_t *AppNameOld = L"Telegram Win (Unofficial)";
|
static const wchar_t *AppNameOld = L"Telegram Win (Unofficial)";
|
||||||
static const wchar_t *AppName = L"Telegram Desktop";
|
static const wchar_t *AppName = L"Telegram Desktop";
|
||||||
|
|
|
@ -381,7 +381,7 @@ void HistoryList::dragActionStart(const QPoint &screenPos, Qt::MouseButton butto
|
||||||
if (_selected.cbegin().value() == FullItemSel) {
|
if (_selected.cbegin().value() == FullItemSel) {
|
||||||
if (_selected.constFind(_dragItem) != _selected.cend() && App::hoveredItem()) {
|
if (_selected.constFind(_dragItem) != _selected.cend() && App::hoveredItem()) {
|
||||||
_dragAction = PrepareDrag; // start items drag
|
_dragAction = PrepareDrag; // start items drag
|
||||||
} else {
|
} else if (!_dragWasInactive) {
|
||||||
_dragAction = PrepareSelect; // start items select
|
_dragAction = PrepareSelect; // start items select
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -428,7 +428,7 @@ void HistoryList::dragActionStart(const QPoint &screenPos, Qt::MouseButton butto
|
||||||
}
|
}
|
||||||
if (uponSelected) {
|
if (uponSelected) {
|
||||||
_dragAction = PrepareDrag; // start text drag
|
_dragAction = PrepareDrag; // start text drag
|
||||||
} else {
|
} else if (!_dragWasInactive) {
|
||||||
if (afterDragSymbol) ++_dragSymbol;
|
if (afterDragSymbol) ++_dragSymbol;
|
||||||
uint32 selStatus = (_dragSymbol << 16) | _dragSymbol;
|
uint32 selStatus = (_dragSymbol << 16) | _dragSymbol;
|
||||||
if (selStatus != FullItemSel && (_selected.isEmpty() || _selected.cbegin().value() != FullItemSel)) {
|
if (selStatus != FullItemSel && (_selected.isEmpty() || _selected.cbegin().value() != FullItemSel)) {
|
||||||
|
@ -443,7 +443,7 @@ void HistoryList::dragActionStart(const QPoint &screenPos, Qt::MouseButton butto
|
||||||
_dragAction = PrepareSelect;
|
_dragAction = PrepareSelect;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else if (!_dragWasInactive) {
|
||||||
_dragAction = PrepareSelect; // start items select
|
_dragAction = PrepareSelect; // start items select
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -594,6 +594,8 @@ void HistoryList::mouseDoubleClickEvent(QMouseEvent *e) {
|
||||||
_trippleClickPoint = e->globalPos();
|
_trippleClickPoint = e->globalPos();
|
||||||
_trippleClickTimer.start(QApplication::doubleClickInterval());
|
_trippleClickTimer.start(QApplication::doubleClickInterval());
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
mousePressEvent(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>0.7.7</string>
|
<string>0.7.8</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleURLTypes</key>
|
<key>CFBundleURLTypes</key>
|
||||||
|
|
Binary file not shown.
|
@ -1625,7 +1625,7 @@
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
COPY_PHASE_STRIP = NO;
|
COPY_PHASE_STRIP = NO;
|
||||||
CURRENT_PROJECT_VERSION = 0.7.7;
|
CURRENT_PROJECT_VERSION = 0.7.8;
|
||||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||||
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
|
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
|
||||||
GCC_OPTIMIZATION_LEVEL = 0;
|
GCC_OPTIMIZATION_LEVEL = 0;
|
||||||
|
@ -1643,7 +1643,7 @@
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
COPY_PHASE_STRIP = YES;
|
COPY_PHASE_STRIP = YES;
|
||||||
CURRENT_PROJECT_VERSION = 0.7.7;
|
CURRENT_PROJECT_VERSION = 0.7.8;
|
||||||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||||
GCC_OPTIMIZATION_LEVEL = fast;
|
GCC_OPTIMIZATION_LEVEL = fast;
|
||||||
GCC_PREFIX_HEADER = ./SourceFiles/stdafx.h;
|
GCC_PREFIX_HEADER = ./SourceFiles/stdafx.h;
|
||||||
|
@ -1669,10 +1669,10 @@
|
||||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||||
CODE_SIGN_IDENTITY = "";
|
CODE_SIGN_IDENTITY = "";
|
||||||
COPY_PHASE_STRIP = NO;
|
COPY_PHASE_STRIP = NO;
|
||||||
CURRENT_PROJECT_VERSION = 0.7.7;
|
CURRENT_PROJECT_VERSION = 0.7.8;
|
||||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||||
DYLIB_COMPATIBILITY_VERSION = 0.7;
|
DYLIB_COMPATIBILITY_VERSION = 0.7;
|
||||||
DYLIB_CURRENT_VERSION = 0.7.7;
|
DYLIB_CURRENT_VERSION = 0.7.8;
|
||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||||
FRAMEWORK_SEARCH_PATHS = "";
|
FRAMEWORK_SEARCH_PATHS = "";
|
||||||
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
|
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
|
||||||
|
@ -1812,10 +1812,10 @@
|
||||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||||
CODE_SIGN_IDENTITY = "";
|
CODE_SIGN_IDENTITY = "";
|
||||||
COPY_PHASE_STRIP = NO;
|
COPY_PHASE_STRIP = NO;
|
||||||
CURRENT_PROJECT_VERSION = 0.7.7;
|
CURRENT_PROJECT_VERSION = 0.7.8;
|
||||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||||
DYLIB_COMPATIBILITY_VERSION = 0.7;
|
DYLIB_COMPATIBILITY_VERSION = 0.7;
|
||||||
DYLIB_CURRENT_VERSION = 0.7.7;
|
DYLIB_CURRENT_VERSION = 0.7.8;
|
||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||||
FRAMEWORK_SEARCH_PATHS = "";
|
FRAMEWORK_SEARCH_PATHS = "";
|
||||||
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
|
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
echo 7007 0.7.7
|
echo 7008 0.7.8
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue