Skip to content

Commit

Permalink
v2.13.5
Browse files Browse the repository at this point in the history
  • Loading branch information
bernerdad committed Dec 18, 2024
1 parent b6a42c9 commit 1fceb99
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 28 deletions.
7 changes: 7 additions & 0 deletions client/common/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2.13.5 (16/12/2024)
All:
* Fixed scroll position not retained when leaving/reentering a window. #1218
* Fixed importing JSON may put the Secure Hotspot preference in an invalid state. #1217
* Fixed changelog link for many platforms in General Preferences. #1219


2.13.4 (09/12/2024)
All:
* Added changelog link in preferences. #1209
Expand Down
6 changes: 3 additions & 3 deletions client/common/version/windscribe_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

#define WINDSCRIBE_MAJOR_VERSION 2
#define WINDSCRIBE_MINOR_VERSION 13
#define WINDSCRIBE_BUILD_VERSION 4
#define WINDSCRIBE_BUILD_VERSION 5

// only one of these should be enabled; neither -> stable
//#define WINDSCRIBE_IS_BETA
#define WINDSCRIBE_IS_GUINEA_PIG
#define WINDSCRIBE_IS_BETA
//#define WINDSCRIBE_IS_GUINEA_PIG

#define STR_HELPER(x) #x
#define STR(x) STR_HELPER(x)
Expand Down
4 changes: 2 additions & 2 deletions client/gui/commongraphics/scrollarea.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ void ScrollArea::setScrollOffset(int amt)
void ScrollArea::setScrollPos(int pos)
{
int lowestY = height_ - static_cast<int>(curItem_->boundingRect().height());
if (pos > lowestY) {
if (pos < lowestY) {
pos = lowestY;
}
if (pos < 0) {
if (pos > 0) {
pos = 0;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void SecureHotspotGroup::setSecureHotspotSettings(const types::ShareSecureHotspo
}

settings_ = ss;
checkBoxEnable_->setState(ss.isEnabled);
checkBoxEnable_->setState(ss.isEnabled && supported_ == HOTSPOT_SUPPORTED);
editBoxSSID_->setText(ss.ssid);
editBoxPassword_->setText(ss.password);
updateMode();
Expand All @@ -56,8 +56,7 @@ void SecureHotspotGroup::setSecureHotspotSettings(const types::ShareSecureHotspo
void SecureHotspotGroup::setSupported(HOTSPOT_SUPPORT_TYPE supported)
{
supported_ = supported;
if (supported_ != HOTSPOT_SUPPORTED)
{
if (supported_ != HOTSPOT_SUPPORTED) {
checkBoxEnable_->setState(false);
settings_.isEnabled = false;
emit secureHotspotPreferencesChanged(settings_);
Expand Down Expand Up @@ -114,12 +113,9 @@ void SecureHotspotGroup::updateDescription()

void SecureHotspotGroup::updateMode()
{
if (checkBoxEnable_->isChecked())
{
if (checkBoxEnable_->isChecked()) {
showItems(indexOf(editBoxSSID_), indexOf(editBoxPassword_));
}
else
{
} else {
hideItems(indexOf(editBoxSSID_), indexOf(editBoxPassword_));
}
}
Expand Down
18 changes: 3 additions & 15 deletions client/gui/preferenceswindow/generalwindow/generalwindowitem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -405,24 +405,12 @@ void GeneralWindowItem::onAppSkinPreferencesChanged(APP_SKIN s)

void GeneralWindowItem::onVersionInfoClicked()
{
#ifdef Q_OS_WIN
QString platform = "windows";
#elif defined(Q_OS_MACOS)
#if defined(Q_OS_MACOS)
// macOS platform name on website is "mac" instead of "macos"
QString platform = "mac";
#else
QString platform;
QString lastPlatform = LinuxUtils::getLastInstallPlatform();
if (lastPlatform == LinuxUtils::DEB_PLATFORM_NAME_X64 ||
lastPlatform == LinuxUtils::DEB_PLATFORM_NAME_ARM64) {
platform = "linux_deb";
} else if (lastPlatform == LinuxUtils::RPM_PLATFORM_NAME) {
platform = "linux_rpm";
} else {
// We don't have a website changelog for zst yet, go to top page instead
platform = "";
}
QString platform = Utils::getPlatformName();
#endif

QDesktopServices::openUrl(QUrl(
QString("https://%1/changelog/%2")
.arg(HardcodedSettings::instance().windscribeServerUrl())
Expand Down

0 comments on commit 1fceb99

Please sign in to comment.