aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Haumann <dhaumann@kde.org>2014-01-19 19:07:47 (GMT)
committerDominik Haumann <dhaumann@kde.org>2014-01-19 19:07:47 (GMT)
commitdad4ca3a6f35ecebe7d9a0ab41c754744f711348 (patch)
tree3001e53bee684f2ddcf5487d5b13293439155584
parente5356f57dedc9feffa15b52827676f13e43a2ebf (diff)
backtrace browser is ported, enable by default again
-rw-r--r--addons/kate/CMakeLists.txt2
-rw-r--r--addons/kate/backtracebrowser/katebacktracebrowser.cpp10
-rw-r--r--addons/kate/backtracebrowser/katebacktracebrowser.h3
3 files changed, 4 insertions, 11 deletions
diff --git a/addons/kate/CMakeLists.txt b/addons/kate/CMakeLists.txt
index 98f55d6..1010605 100644
--- a/addons/kate/CMakeLists.txt
+++ b/addons/kate/CMakeLists.txt
@@ -27,7 +27,7 @@ ecm_optional_add_subdirectory ( snippets )
#add_subdirectory( tabbarextension )
#add_subdirectory( symbolviewer )
-#add_subdirectory( backtracebrowser )
+ecm_optional_add_subdirectory ( backtracebrowser )
#add_subdirectory( filetemplates )
diff --git a/addons/kate/backtracebrowser/katebacktracebrowser.cpp b/addons/kate/backtracebrowser/katebacktracebrowser.cpp
index 4f4af82..f6a3ed2 100644
--- a/addons/kate/backtracebrowser/katebacktracebrowser.cpp
+++ b/addons/kate/backtracebrowser/katebacktracebrowser.cpp
@@ -410,19 +410,15 @@ KateBtConfigDialog::KateBtConfigDialog(QWidget* parent)
layout->addWidget(m_configWidget);
layout->addWidget(box);
- connect(box->button(QDialogButtonBox::Ok), SIGNAL(clicked()), m_configWidget, SLOT(apply()));
- connect(m_configWidget, SIGNAL(changed()), this, SLOT(changed()));
+ connect(this, SIGNAL(accepted()), m_configWidget, SLOT(apply()));
+ connect(box, SIGNAL(accepted()), this, SLOT(accept()));
+ connect(box, SIGNAL(rejected()), this, SLOT(reject()));
}
KateBtConfigDialog::~KateBtConfigDialog()
{
}
-void KateBtConfigDialog::changed()
-{
-// enableButtonApply(true); // FIXME KF5
-}
-
#include "katebacktracebrowser.moc"
// kate: space-indent on; indent-width 2; replace-tabs on;
diff --git a/addons/kate/backtracebrowser/katebacktracebrowser.h b/addons/kate/backtracebrowser/katebacktracebrowser.h
index a785df7..cb712f9 100644
--- a/addons/kate/backtracebrowser/katebacktracebrowser.h
+++ b/addons/kate/backtracebrowser/katebacktracebrowser.h
@@ -148,9 +148,6 @@ class KateBtConfigDialog : public QDialog
KateBtConfigDialog(QWidget* parent = 0);
~KateBtConfigDialog();
- public Q_SLOTS:
- void changed();
-
private:
KateBtConfigWidget* m_configWidget;
};