Diffstat (limited to 'noncore/unsupported/oipkg/pksettings.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/pksettings.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/noncore/unsupported/oipkg/pksettings.cpp b/noncore/unsupported/oipkg/pksettings.cpp index 7e2ef10..24c7beb 100644 --- a/noncore/unsupported/oipkg/pksettings.cpp +++ b/noncore/unsupported/oipkg/pksettings.cpp @@ -59,4 +59,5 @@ PackageManagerSettings::PackageManagerSettings( QWidget* parent, const char* na readSettings(); activeLinkDestination->hide(); + serverChanged = false; } @@ -120,5 +121,5 @@ void PackageManagerSettings::editServer(int i) editedserver = i; - + serverChanged = true; connect( servername, SIGNAL(textChanged(const QString&)), this, SLOT(serverNameChanged(const QString&)) ); connect( serverurl, SIGNAL(textChanged(const QString&)), this, SLOT(serverUrlChanged(const QString&)) ); @@ -135,6 +136,7 @@ void PackageManagerSettings::editDestination(int i) destinationname->setEnabled(TRUE); destinationurl->setEnabled(TRUE); - createLinksButton->setEnabled(TRUE); - removeLinksButton->setEnabled(TRUE); + //since it does not work anyway +// createLinksButton->setEnabled(TRUE); +// removeLinksButton->setEnabled(TRUE); } @@ -185,7 +187,7 @@ void PackageManagerSettings::serverNameChanged(const QString& t) servers->changeItem( t, editedserver ); activeServers->changeItem( t, editedserver ); - changed = true; connect( servers, SIGNAL(highlighted(int)), this, SLOT(editServer(int)) ); changed = true; + serverChanged = true; } @@ -204,4 +206,5 @@ void PackageManagerSettings::serverUrlChanged(const QString& t) serverurlDic.replace(editedserver, new QString(t)); changed = true; + serverChanged = true; } |