From f8517c583bf5fdb787a7d5ce46a8896f9cf04830 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 29 Dec 2017 12:01:21 +0100 Subject: 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 --- desktop-widgets/mainwindow.h | 1 + 1 file changed, 1 insertion(+) (limited to 'desktop-widgets/mainwindow.h') 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); -- cgit v1.2.3-70-g09d2