diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2017-12-29 12:01:21 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-01-04 08:21:43 -0800 |
commit | f8517c583bf5fdb787a7d5ce46a8896f9cf04830 (patch) | |
tree | 438168b68bca1d0f3fa7ea574aace73c4c6fe565 /desktop-widgets/mainwindow.h | |
parent | b4e36c591204a26fac63ff59713f8ddd081fb5a6 (diff) | |
download | subsurface-f8517c583bf5fdb787a7d5ce46a8896f9cf04830.tar.gz |
Replace macro TOGGLE_COLLAPSABLE by function toggleCollapsible()
There was no reason to do this in a macro. Let the compiler decide
if it wants to inline or not. Note that for consistency with the
Qt functions, collapsAble was replaced by collabsIble.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/mainwindow.h')
-rw-r--r-- | desktop-widgets/mainwindow.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/mainwindow.h b/desktop-widgets/mainwindow.h index 7c44cb425..901d184df 100644 --- a/desktop-widgets/mainwindow.h +++ b/desktop-widgets/mainwindow.h @@ -205,6 +205,7 @@ private: int file_save_as(); void beginChangeState(CurrentState s); void saveSplitterSizes(); + void toggleCollapsible(bool toggle); QString lastUsedDir(); void updateLastUsedDir(const QString &s); void registerApplicationState(const QByteArray& state, QWidget *topLeft, QWidget *topRight, QWidget *bottomLeft, QWidget *bottomRight); |