mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
b4e36c5912
commit
f8517c583b
2 changed files with 15 additions and 14 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue