summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2017-12-29 12:01:21 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-01-04 08:21:43 -0800
commitf8517c583bf5fdb787a7d5ce46a8896f9cf04830 (patch)
tree438168b68bca1d0f3fa7ea574aace73c4c6fe565 /desktop-widgets/mainwindow.h
parentb4e36c591204a26fac63ff59713f8ddd081fb5a6 (diff)
downloadsubsurface-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.h1
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);