diff options
author | Teus Benschop <teusjannette@gmail.com> | 2017-10-06 12:24:31 +0200 |
---|---|---|
committer | Teus Benschop <teusjannette@gmail.com> | 2017-10-06 12:24:31 +0200 |
commit | 90d2181239761f8950b95768d3b037843e9e8b50 (patch) | |
tree | 6cc667ab420cc04029de2de7e361d2305e214595 /src/frontend/btaboutmoduledialog.cpp | |
parent | 1ea03c0fce8066c1e22188447b4a6ca4dcef1201 (diff) |
New upstream version 2.11.0
Diffstat (limited to 'src/frontend/btaboutmoduledialog.cpp')
-rw-r--r-- | src/frontend/btaboutmoduledialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/frontend/btaboutmoduledialog.cpp b/src/frontend/btaboutmoduledialog.cpp index b8603b5..3d7cde3 100644 --- a/src/frontend/btaboutmoduledialog.cpp +++ b/src/frontend/btaboutmoduledialog.cpp @@ -2,7 +2,7 @@ * * This file is part of BibleTime's source code, http://www.bibletime.info/. * -* Copyright 1999-2014 by the BibleTime developers. +* Copyright 1999-2016 by the BibleTime developers. * The BibleTime source code is licensed under the GNU General Public License version 2.0. * **********/ @@ -15,6 +15,7 @@ #include "backend/drivers/cswordmoduleinfo.h" #include "frontend/btaboutmoduledialog.h" #include "frontend/messagedialog.h" +#include "util/btconnect.h" BTAboutModuleDialog::BTAboutModuleDialog(const CSwordModuleInfo *moduleInfo, @@ -32,13 +33,12 @@ BTAboutModuleDialog::BTAboutModuleDialog(const CSwordModuleInfo *moduleInfo, vboxLayout->addWidget(m_textEdit); m_buttons = new QDialogButtonBox(QDialogButtonBox::Close, Qt::Horizontal, this); - QObject::connect(m_buttons, SIGNAL(rejected()), this, SLOT(reject())); + BT_CONNECT(m_buttons, SIGNAL(rejected()), this, SLOT(reject())); vboxLayout->addWidget(m_buttons); retranslateUi(); - connect(moduleInfo, SIGNAL(destroyed()), - this, SLOT(close())); + BT_CONNECT(moduleInfo, SIGNAL(destroyed()), this, SLOT(close())); } void BTAboutModuleDialog::retranslateUi() { |