summaryrefslogtreecommitdiff
path: root/ui/qt5/partitionmountpage.hh
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt5/partitionmountpage.hh')
-rw-r--r--ui/qt5/partitionmountpage.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/qt5/partitionmountpage.hh b/ui/qt5/partitionmountpage.hh
index d9a4939..0289e59 100644
--- a/ui/qt5/partitionmountpage.hh
+++ b/ui/qt5/partitionmountpage.hh
@@ -25,7 +25,10 @@ public:
QStringList mountLines() const;
private:
QListWidget *mountList;
- QPushButton *addMountButton, *delMountButton, *rescanButton;
+ QPushButton *addMountButton, *delMountButton;
+#ifdef HAS_INSTALL_ENV
+ QPushButton *rescanButton;
+#endif /* !HAS_INSTALL_ENV */
};
#endif /* !PARTITIONMOUNTPAGE_HH */