summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-08-16 19:18:42 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-08-16 19:18:42 +0900
commit5319482782c7cbf2b78f9773d2598541f8a08a94 (patch)
treeacb20242da6ff5251de007aa0495014289951256
parent785c405d8fe6d5d51e7d00210cdf6f213295c1eb (diff)
downloadtdevelop-5319482782c7cbf2b78f9773d2598541f8a08a94.tar.gz
tdevelop-5319482782c7cbf2b78f9773d2598541f8a08a94.zip
Fixed several warning messages that were printed when launching KDevAssistant. This resolves bug 1971.
-rw-r--r--parts/documentation/indexview.cpp2
-rw-r--r--parts/fileselector/fileselector_part.cpp2
-rw-r--r--src/main_assistant.cpp2
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();