From 5319482782c7cbf2b78f9773d2598541f8a08a94 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 16 Aug 2014 19:18:42 +0900 Subject: Fixed several warning messages that were printed when launching KDevAssistant. This resolves bug 1971. --- parts/documentation/indexview.cpp | 2 +- parts/fileselector/fileselector_part.cpp | 2 +- src/main_assistant.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/parts/documentation/indexview.cpp b/parts/documentation/indexview.cpp index cae33db5..3e0a3921 100644 --- a/parts/documentation/indexview.cpp +++ b/parts/documentation/indexview.cpp @@ -43,7 +43,7 @@ IndexView::IndexView(DocumentationWidget *parent, const char *name) { TQVBoxLayout *l = new TQVBoxLayout(this, 0, 0); - TQHBoxLayout *hl = new TQHBoxLayout(this, 0, 0); + TQHBoxLayout *hl = new TQHBoxLayout(0); m_edit = new KLineEdit(this); hl->addWidget(new TQLabel(m_edit, i18n("&Look for:"), this)); hl->addWidget(m_edit); diff --git a/parts/fileselector/fileselector_part.cpp b/parts/fileselector/fileselector_part.cpp index a6b4a6bb..b5f9961a 100644 --- a/parts/fileselector/fileselector_part.cpp +++ b/parts/fileselector/fileselector_part.cpp @@ -54,7 +54,7 @@ FileSelectorPart::FileSelectorPart(TQObject *parent, const char *name, const TQS m_filetree->readConfig( instance()->config(), "fileselector" ); - m_newFileAction = new TDEAction(i18n("New File..."), CTRL+ALT+SHIFT+Key_N, this, TQT_SLOT(newFile()), this); + m_newFileAction = new TDEAction(i18n("New File..."), CTRL+ALT+SHIFT+Key_N, this, TQT_SLOT(newFile()), this, "new_file"); } FileSelectorPart::~FileSelectorPart() diff --git a/src/main_assistant.cpp b/src/main_assistant.cpp index ba2c1886..10b5fd56 100644 --- a/src/main_assistant.cpp +++ b/src/main_assistant.cpp @@ -95,7 +95,7 @@ int main(int argc, char *argv[]) app.processEvents(); TQObject::connect(PluginController::getInstance(), TQT_SIGNAL(loadingPlugin(const TQString &)), - splash, TQT_SLOT(showMessage(const TQString &))); + splash, TQT_SLOT(message(const TQString &))); if (splash) splash->message( i18n( "Loading Settings" ) ); TopLevel::getInstance()->loadSettings(); -- cgit v1.2.3