summaryrefslogtreecommitdiffstats
path: root/examples/assistant/simpletextviewer/findfiledialog.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-04-15 22:10:15 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-05-19 08:43:35 +0200
commitbed49e664c0ae6719e712c4750feb2b704484977 (patch)
treed0b654aa95522aa798c93183e44cbd44fa5a6bda /examples/assistant/simpletextviewer/findfiledialog.h
parent27f8fe5b21ac555cda9d16b2581f02a4305df1ea (diff)
Polish the SimpleTextViewer example
- Port to Qt 5 connection syntax, fixing error in Qt 6 QObject::connect: No such signal QComboBox::currentIndexChanged(QString) in findfiledialog.cpp:194 - Remove unused functions and parameters to avoid QOverload - Add process error handling Change-Id: I923f44ce0eb27b7f73f9a0e16c11f48a80a0c03a Reviewed-by: Kai Koehne <kai.koehne@qt.io> (cherry picked from commit 153b75db83ca4d3db26829bd85271e7fa88b402c)
Diffstat (limited to 'examples/assistant/simpletextviewer/findfiledialog.h')
-rw-r--r--examples/assistant/simpletextviewer/findfiledialog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/assistant/simpletextviewer/findfiledialog.h b/examples/assistant/simpletextviewer/findfiledialog.h
index 6ca57b061..605da0954 100644
--- a/examples/assistant/simpletextviewer/findfiledialog.h
+++ b/examples/assistant/simpletextviewer/findfiledialog.h
@@ -76,7 +76,7 @@ public:
private slots:
void browse();
void help();
- void openFile(QTreeWidgetItem *item = nullptr);
+ void openFile();
void update();
private: