mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-02 21:52:32 -06:00
Resize dialog size on high DPI monitors
This commit is contained in:
@@ -41,8 +41,8 @@
|
||||
#include "base/bittorrent/torrentinfo.h"
|
||||
#include "base/global.h"
|
||||
#include "base/utils/fs.h"
|
||||
|
||||
#include "ui_torrentcreatordlg.h"
|
||||
#include "utils.h"
|
||||
|
||||
#define SETTINGS_KEY(name) "TorrentCreator/" name
|
||||
|
||||
@@ -264,6 +264,5 @@ void TorrentCreatorDlg::loadSettings()
|
||||
m_ui->txtComment->setPlainText(m_storeComments);
|
||||
m_ui->lineEditSource->setText(m_storeSource);
|
||||
|
||||
if (m_storeDialogSize.value().isValid())
|
||||
resize(m_storeDialogSize);
|
||||
Utils::Gui::resize(this, m_storeDialogSize);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user