diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2013-10-08 12:48:46 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-10-08 06:26:03 -0700 |
commit | 218c0956e201524d5f91bebd3ee87930200a0974 (patch) | |
tree | bb21855225fc173c3d3fdf9a9da9adac8445829c /linux.c | |
parent | d0e9d1f383c64b83b9124f96d1ad67e994efe8f9 (diff) | |
download | subsurface-218c0956e201524d5f91bebd3ee87930200a0974.tar.gz |
main.cpp: remove usage of subsurface_command_line_*
subsurface_command_line_* are now redundant as Qt
should handle the command line argument parsing on Windows
for which these functions where mainly used and where NOP
for other OS.
main.cpp also receives a couple of small changes to use:
QCoreApplication::arguments()
to obtain the list of expanded arguments and parse those
instead.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'linux.c')
-rw-r--r-- | linux.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -23,16 +23,6 @@ const char *system_default_filename(void) return buffer; } -void subsurface_command_line_init(int *argc, char ***argv) -{ - /* this is a no-op */ -} - -void subsurface_command_line_exit(int *argc, char ***argv) -{ - /* this is a no-op */ -} - int enumerate_devices (device_callback_t callback, void *userdata) { int index = -1; |