summaryrefslogtreecommitdiffstats
path: root/parts
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 /parts
parent785c405d8fe6d5d51e7d00210cdf6f213295c1eb (diff)
downloadtdevelop-5319482782c7cbf2b78f9773d2598541f8a08a94.tar.gz
tdevelop-5319482782c7cbf2b78f9773d2598541f8a08a94.zip
Fixed several warning messages that were printed when launching KDevAssistant. This resolves bug 1971.
Diffstat (limited to 'parts')
-rw-r--r--parts/documentation/indexview.cpp2
-rw-r--r--parts/fileselector/fileselector_part.cpp2
2 files changed, 2 insertions, 2 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()