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>
This commit is contained in:
Berthold Stoeger 2017-12-29 12:01:21 +01:00 committed by Dirk Hohndel
parent b4e36c5912
commit f8517c583b
2 changed files with 15 additions and 14 deletions

View file

@ -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);