diff options
author | André Nusser <andre.nusser@googlemail.com> | 2017-05-05 22:35:47 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2017-05-05 22:35:47 +0200 |
commit | 72e6e0401677740a286ab937194c61db1448e4c9 (patch) | |
tree | c39de5f7b2fbfbcf02bb4c9c514fefde4cd2a07b /plugingui/filebrowser.cc | |
parent | 33639dddd8b1b01739994b7427d70ffc676cb22d (diff) |
Refactor TextEdit widget.
Diffstat (limited to 'plugingui/filebrowser.cc')
-rw-r--r-- | plugingui/filebrowser.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/filebrowser.cc b/plugingui/filebrowser.cc index 76a2744..62f7775 100644 --- a/plugingui/filebrowser.cc +++ b/plugingui/filebrowser.cc @@ -158,7 +158,7 @@ void FileBrowser::handleKeyEvent() { listbox.clearSelectedValue(); - std::string value = lineedit.text(); + std::string value = lineedit.getText(); if((value.size() > 1) && (value[0] == '@')) { DEBUG(filebrowser, "Selecting ref-file '%s'\n", value.c_str()); @@ -166,7 +166,7 @@ void FileBrowser::handleKeyEvent() return; } - dir.setPath(lineedit.text()); + dir.setPath(lineedit.getText()); changeDir(); } |