mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
Pass GMenu2X instance by reference instead of pointer
This makes it explicit that null is not accepted.
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
class FileDialog : public BrowseDialog {
|
||||
public:
|
||||
FileDialog(
|
||||
GMenu2X *gmenu2x, Touchscreen &ts, const std::string &text,
|
||||
GMenu2X& gmenu2x, Touchscreen &ts, const std::string &text,
|
||||
const std::string &filter="*", const std::string &file="",
|
||||
const std::string &title = "File Dialog");
|
||||
bool exec();
|
||||
|
||||
Reference in New Issue
Block a user