mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 12:48:04 -06:00
Fix optionsdlg position
This commit is contained in:
@@ -1139,16 +1139,6 @@ void Preferences::setPrefSize(const QSize &size)
|
||||
}
|
||||
#endif
|
||||
|
||||
QPoint Preferences::getPrefPos() const
|
||||
{
|
||||
return value("Preferences/State/pos").toPoint();
|
||||
}
|
||||
|
||||
void Preferences::setPrefPos(const QPoint &pos)
|
||||
{
|
||||
setValue("Preferences/State/pos", pos);
|
||||
}
|
||||
|
||||
QStringList Preferences::getPrefHSplitterSizes() const
|
||||
{
|
||||
return value("Preferences/State/hSplitterSizes").toStringList();
|
||||
|
||||
@@ -278,8 +278,6 @@ public:
|
||||
QSize getPrefSize(const QSize &defaultSize) const;
|
||||
void setPrefSize(const QSize &size);
|
||||
#endif
|
||||
QPoint getPrefPos() const;
|
||||
void setPrefPos(const QPoint &pos);
|
||||
QStringList getPrefHSplitterSizes() const;
|
||||
void setPrefHSplitterSizes(const QStringList &sizes);
|
||||
QByteArray getPeerListState() const;
|
||||
|
||||
Reference in New Issue
Block a user