Untangle Profile from MainWindow: refresh display

Instead of directly calling into the MainWindow, redirect this via a
signal so Subsurface mobile can hook it up as needed.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-11-05 12:51:05 -08:00
parent 281a0a945a
commit e28f171731
3 changed files with 5 additions and 2 deletions

View file

@ -92,6 +92,7 @@ signals:
void showError();
void enableShortcuts();
void disableShortcuts(bool paste);
void refreshDisplay(bool recreateDivelist);
public
slots: // Necessary to call from QAction's signals.