-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 | |||
61 | // Connect the signals and slots | 61 | // Connect the signals and slots |
62 | connect(tabList, SIGNAL(doubleClicked(QListViewItem *)), | 62 | connect(tabList, SIGNAL(doubleClicked(QListViewItem *)), |
63 | this, SLOT(editItem(QListViewItem*))); | 63 | this, SLOT(editItem(QListViewItem*))); |
@@ -207,3 +207,3 @@ void TabManager::removeItem(){ | |||
207 | if(item->childCount() > 0){ | 207 | if(item->childCount() > 0){ |
208 | QMessageBox::critical(this, tr("Message"), tr("Can't remove with applications\nstill in the group."), | 208 | QMessageBox::critical(this, tr("Message"), tr("Can't remove with applications\nstill in the group."), |
209 | tr("Ok") ); | 209 | tr("Ok") ); |
@@ -231,2 +231,5 @@ void TabManager::removeItem(){ | |||
231 | removeSuccessfull = false; | 231 | removeSuccessfull = false; |
232 | else | ||
233 | removeSuccessfull = true; | ||
234 | |||
232 | } | 235 | } |
@@ -236,3 +239,3 @@ void TabManager::removeItem(){ | |||
236 | qDebug((QString("removeItem: ") + location).latin1()); | 239 | qDebug((QString("removeItem: ") + location).latin1()); |
237 | QMessageBox::critical(this, tr("Message"), tr("Can't remove."), | 240 | QMessageBox::critical(this, tr("Message"), tr("Can't remove."), |
238 | tr("Ok") ); | 241 | tr("Ok") ); |
@@ -372,3 +375,3 @@ void TabManager::moveApplication(QListViewItem *item, QListViewItem *newGroup){ | |||
372 | if(!r.rename(itemList[item], newFolder)){ | 375 | if(!r.rename(itemList[item], newFolder)){ |
373 | QMessageBox::critical(this, tr("Message"), tr("Can't move application."), | 376 | QMessageBox::critical(this, tr("Message"), tr("Can't move application."), |
374 | tr("Ok") ); | 377 | tr("Ok") ); |