mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 17:23:07 -07:00
- COSMETIC: Redesigned program preferences
- COSMETIC: Updated icons set
This commit is contained in:
parent
54bfb7cda9
commit
3894452840
67 changed files with 2404 additions and 2229 deletions
|
@ -236,6 +236,8 @@ options_imp::options_imp(QWidget *parent):QDialog(parent){
|
|||
checkSystrayBalloons->setChecked(false);
|
||||
checkSystrayBalloons->setEnabled(false);
|
||||
}
|
||||
// Tab selection mecanism
|
||||
connect(tabSelection, SIGNAL(currentItemChanged(QListWidgetItem *, QListWidgetItem *)), this, SLOT(changePage(QListWidgetItem *, QListWidgetItem*)));
|
||||
}
|
||||
|
||||
// Main destructor
|
||||
|
@ -243,6 +245,12 @@ options_imp::~options_imp(){
|
|||
qDebug("-> destructing Options");
|
||||
}
|
||||
|
||||
void options_imp::changePage(QListWidgetItem *current, QListWidgetItem *previous) {
|
||||
if (!current)
|
||||
current = previous;
|
||||
tabOption->setCurrentIndex(tabSelection->row(current));
|
||||
}
|
||||
|
||||
void options_imp::useStyle(){
|
||||
int style = getStyle();
|
||||
switch(style) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue