example: show the use of max-sizes without developer-build

the feature is stable to show
This commit is contained in:
Sergio Martins
2020-06-17 16:29:45 +01:00
parent e3276411f9
commit b8664c44c7

View File

@@ -89,14 +89,13 @@ int main(int argc, char **argv)
parser.addOption(dockableMainWindows);
#endif
QCommandLineOption maxSizeOption("g", QCoreApplication::translate("main", "Make dock #8 have a max-size of 200x200. (this feature is work in progress)"));
QCommandLineOption centralFrame("f", QCoreApplication::translate("main", "Persistent central frame"));
QCommandLineOption maxSizeOption("g", QCoreApplication::translate("main", "Make dock #8 have a max-size of 200x200."));
parser.addOption(maxSizeOption);
QCommandLineOption centralFrame("f", QCoreApplication::translate("main", "Persistent central frame"));
#if defined(DOCKS_DEVELOPER_MODE)
parser.addOption(centralFrame);
parser.addOption(maxSizeOption);
#else
Q_UNUSED(maxSizeOption)
Q_UNUSED(centralFrame)
#endif