-rw-r--r-- | noncore/settings/tabmanager/tabmanager.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/noncore/settings/tabmanager/tabmanager.cpp b/noncore/settings/tabmanager/tabmanager.cpp index af76251..f54c837 100644 --- a/noncore/settings/tabmanager/tabmanager.cpp +++ b/noncore/settings/tabmanager/tabmanager.cpp @@ -61,3 +61,3 @@ TabManager::TabManager( QWidget* parent, const char* name):TabManagerBase(parent // Connect the signals and slots - connect(tabList, SIGNAL(doubleClicked(QListViewItem *)), + connect(tabList, SIGNAL(doubleClicked(QListViewItem *)), this, SLOT(editItem(QListViewItem*))); @@ -207,3 +207,3 @@ void TabManager::removeItem(){ if(item->childCount() > 0){ - QMessageBox::critical(this, tr("Message"), tr("Can't remove with applications\nstill in the group."), + QMessageBox::critical(this, tr("Message"), tr("Can't remove with applications\nstill in the group."), tr("Ok") ); @@ -231,2 +231,5 @@ void TabManager::removeItem(){ removeSuccessfull = false; + else + removeSuccessfull = true; + } @@ -236,3 +239,3 @@ void TabManager::removeItem(){ qDebug((QString("removeItem: ") + location).latin1()); - QMessageBox::critical(this, tr("Message"), tr("Can't remove."), + QMessageBox::critical(this, tr("Message"), tr("Can't remove."), tr("Ok") ); @@ -372,3 +375,3 @@ void TabManager::moveApplication(QListViewItem *item, QListViewItem *newGroup){ if(!r.rename(itemList[item], newFolder)){ - QMessageBox::critical(this, tr("Message"), tr("Can't move application."), + QMessageBox::critical(this, tr("Message"), tr("Can't move application."), tr("Ok") ); |