Skip to content

Commit

Permalink
Optimize imports
Browse files Browse the repository at this point in the history
  • Loading branch information
qwertyadrian committed Jan 23, 2022
1 parent c81ffbb commit 8565485
Show file tree
Hide file tree
Showing 4 changed files with 2,066 additions and 2,065 deletions.
5 changes: 3 additions & 2 deletions audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see http://www.gnu.org/licenses/
import os.path
from pathlib import Path
import os
import sys
import tempfile

from pathlib import Path

from keyrings.cryptfile.cryptfile import CryptFileKeyring
from PyQt5 import QtWidgets

Expand Down
4 changes: 2 additions & 2 deletions gui/audio.ui
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
<item row="2" column="0" colspan="4">
<widget class="QLabel" name="link_text">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:10.5pt;&quot;&gt;Ссылка на профиль (пост, альбом) пользователя (сообщества):&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>Ссылка на профиль (пост, альбом) пользователя (сообщества):</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
Expand Down Expand Up @@ -350,7 +350,7 @@
<x>0</x>
<y>0</y>
<width>877</width>
<height>21</height>
<height>34</height>
</rect>
</property>
<widget class="QMenu" name="music_menu">
Expand Down
4 changes: 2 additions & 2 deletions gui/audio_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def setupUi(self, MainWindow):
self.gridLayout.addWidget(self.progressBar, 3, 5, 1, 2)
MainWindow.setCentralWidget(self.centralwidget)
self.menuBar = QtWidgets.QMenuBar(MainWindow)
self.menuBar.setGeometry(QtCore.QRect(0, 0, 877, 21))
self.menuBar.setGeometry(QtCore.QRect(0, 0, 877, 34))
self.menuBar.setObjectName("menuBar")
self.music_menu = QtWidgets.QMenu(self.menuBar)
self.music_menu.setObjectName("music_menu")
Expand Down Expand Up @@ -240,7 +240,7 @@ def retranslateUi(self, MainWindow):
self.progress_label.setText(_translate("MainWindow", "Прогресс скачивания:"))
self.password_text.setText(_translate("MainWindow", "Пароль:"))
self.sort_tracks.setText(_translate("MainWindow", "Сортировка"))
self.link_text.setText(_translate("MainWindow", "<html><head/><body><p><span style=\" font-size:10.5pt;\">Ссылка на профиль (пост, альбом) пользователя (сообщества):</span></p></body></html>"))
self.link_text.setText(_translate("MainWindow", "Ссылка на профиль (пост, альбом) пользователя (сообщества):"))
self.btnConfirm.setToolTip(_translate("MainWindow", "Получить список аудиозаписей пользователя"))
self.btnConfirm.setText(_translate("MainWindow", "Получить аудиозаписи"))
self.search.setPlaceholderText(_translate("MainWindow", "Поиск..."))
Expand Down
Loading

0 comments on commit 8565485

Please sign in to comment.