From 1c7c1137638b494da26ee419afa7a7074fafe301 Mon Sep 17 00:00:00 2001
From: peijiankang <peijiankang@kylinos.cn>
Date: Tue, 28 Jun 2022 09:46:12 +0800
Subject: [PATCH] Increase the drag bar of forecast part

---
 debian/changelog                         | 1 +
 src/mainwindow.cpp                       | 2 +-
 translations/generate_translations_pm.sh | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7b4b0f7..a18e2f5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 indicator-china-weather (3.1.0-37) v101; urgency=medium
 
   * 解决了BUG#30685 程序没有IP定位功能
+  * 解决了BUG#27090 收藏界面国际化问题
 
  -- shixiaoshuo <shixiaoshuo@kylinos.cn>  Fri,8  Jan 2021 10:33:00 +0800
 
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index eb4c764..4b6ab78 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -264,7 +264,7 @@ void MainWindow::initControlQss()
     m_scrollarea->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
     m_scrollarea->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
 
-    m_scrollarea->verticalScrollBar()->setStyleSheet("QScrollBar:vertical{margin:0px 2px 0px 2px;width:10px;background:rgba(255,255,255,0);border-radius:6px;}"
+    m_scrollarea->verticalScrollBar()->setStyleSheet("QScrollBar:vertical{margin:0px 2px 0px 2px;width:13px;background:rgba(255,255,255,0);border-radius:6px;}"
                                                      "QScrollBar::up-arrow:vertical{height:0px;}"
                                                      "QScrollBar::sub-line:vertical{border:0px solid;height:0px}"
                                                      "QScrollBar::sub-page:vertical{background:transparent;}"
diff --git a/translations/generate_translations_pm.sh b/translations/generate_translations_pm.sh
index 2359710..2170239 100755
--- a/translations/generate_translations_pm.sh
+++ b/translations/generate_translations_pm.sh
@@ -1,6 +1,6 @@
 #! /bin/bash
 
-ts_file_list=(`ls translations/*.ts`)
+ts_file_list=(`ls ./*.ts`)
 
 for ts in "${ts_file_list[@]}"
 do
-- 
2.33.0

