From f9c30e41d26594598abaa8315c4488b6c5ff38ea Mon Sep 17 00:00:00 2001 From: samelian Date: Sun, 23 Jan 2011 20:11:33 +0000 Subject: [kdevelop] compatibility with QT_NO_ASCII_CAST and automoc git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1216512 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- parts/fileview/filegroupswidget.cpp | 3 ++- parts/fileview/filetreewidget.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'parts/fileview') diff --git a/parts/fileview/filegroupswidget.cpp b/parts/fileview/filegroupswidget.cpp index a31cb963..14f1d50c 100644 --- a/parts/fileview/filegroupswidget.cpp +++ b/parts/fileview/filegroupswidget.cpp @@ -224,7 +224,8 @@ void FileGroupsWidget::slotItemExecuted(TQListViewItem *item) void FileGroupsWidget::slotContextMenu(KListView *, TQListViewItem *item, const TQPoint &p) { - KPopupMenu popup(i18n("File Groups"), this); + KPopupMenu popup(this); + popup.insertTitle(i18n("File Groups")); /// @todo Add, remove groups int customizeId = popup.insertItem(i18n("Customize...")); popup.setWhatsThis(customizeId, i18n("Customize

Opens Customize File Groups dialog where the groups can be managed.")); diff --git a/parts/fileview/filetreewidget.cpp b/parts/fileview/filetreewidget.cpp index 6f049370..f5aa0ff4 100644 --- a/parts/fileview/filetreewidget.cpp +++ b/parts/fileview/filetreewidget.cpp @@ -203,7 +203,8 @@ void FileTreeWidget::slotContextMenu( KListView *, TQListViewItem* item, const T { kdDebug(9017) << "FileTreeWidget::slotContextMenu(...)" << endl; - KPopupMenu popup( i18n("File Tree"), this ); + KPopupMenu popup( this ); + popup.insertTitle( i18n("File Tree") ); // If an item is selected, fill the file context with selected files' list if (item) -- cgit v1.2.1