diff --git a/src/debugger/gui/TiaZoomWidget.hxx b/src/debugger/gui/TiaZoomWidget.hxx index d46787f23..1cc53068f 100644 --- a/src/debugger/gui/TiaZoomWidget.hxx +++ b/src/debugger/gui/TiaZoomWidget.hxx @@ -27,12 +27,14 @@ class ContextMenu; class TiaZoomWidget : public Widget, public CommandSender { public: + using Widget::setPos; + TiaZoomWidget(GuiObject *boss, const GUI::Font& font, int x, int y, int w, int h); ~TiaZoomWidget() override = default; void loadConfig() override; - void setPos(int x, int y); + void setPos(int x, int y) override; string getToolTip(const Common::Point& pos) const override; bool changedToolTip(const Common::Point& oldPos, const Common::Point& newPos) const override; diff --git a/src/gui/FileListWidget.cxx b/src/gui/FileListWidget.cxx index 6aaa9be1c..d2cff5261 100644 --- a/src/gui/FileListWidget.cxx +++ b/src/gui/FileListWidget.cxx @@ -75,7 +75,7 @@ void FileListWidget::setLocation(const FilesystemNode& node, { progress().resetProgress(); progress().open(); - class FilesystemNode::CancelCheck isCancelled = []() { + FilesystemNode::CancelCheck isCancelled = []() { return myProgressDialog->isCancelled(); }; @@ -255,7 +255,7 @@ string FileListWidget::getToolTip(const Common::Point& pos) const if(idx < 0) return EmptyString; - if(_includeSubDirs && _dirList.size() > idx) + if(_includeSubDirs && static_cast(_dirList.size()) > idx) return _toolTipText + _dirList[idx]; const string value = _list[idx]; diff --git a/src/gui/FileListWidget.hxx b/src/gui/FileListWidget.hxx index 088ed56b3..32f6517f7 100644 --- a/src/gui/FileListWidget.hxx +++ b/src/gui/FileListWidget.hxx @@ -71,7 +71,6 @@ class FileListWidget : public StringListWidget @param node The directory to display. If this is a file, its parent will instead be used, and the file will be selected @param select An optional entry to select (if applicable) - @param recursive Recursively list sub-directories too */ void setDirectory(const FilesystemNode& node, const string& select = EmptyString);