Commit 1ad4463b authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

lsp gotosymboldialog: Set placeholder text for line edit


Signed-off-by: Waqar Ahmed's avatarWaqar Ahmed <waqar.17a@gmail.com>
(cherry picked from commit 31f0e286)
parent 434c928d
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include "gotosymboldialog.h" #include "gotosymboldialog.h"
#include "lspclientserver.h" #include "lspclientserver.h"
#include <KLocalizedString>
#include <KSyntaxHighlighting/Theme> #include <KSyntaxHighlighting/Theme>
#include <KTextEditor/ConfigInterface> #include <KTextEditor/ConfigInterface>
#include <KTextEditor/Editor> #include <KTextEditor/Editor>
...@@ -180,6 +181,8 @@ GotoSymbolHUDDialog::GotoSymbolHUDDialog(KTextEditor::MainWindow *mainWindow, QS ...@@ -180,6 +181,8 @@ GotoSymbolHUDDialog::GotoSymbolHUDDialog(KTextEditor::MainWindow *mainWindow, QS
{ {
setPaletteToEditorColors(); setPaletteToEditorColors();
m_lineEdit.setPlaceholderText(i18n("Type to filter through symbols in your project..."));
m_treeView.setModel(model); m_treeView.setModel(model);
auto delegate = new GotoSymbolHUDStyleDelegate(this); auto delegate = new GotoSymbolHUDStyleDelegate(this);
delegate->setColors(); delegate->setColors();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment