mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
make settings methods slots in Menu so they are accessible
This commit is contained in:
parent
0667190d00
commit
e2ae85176f
1 changed files with 5 additions and 6 deletions
|
@ -49,16 +49,15 @@ public:
|
|||
ViewFrustumOffset getViewFrustumOffset() const { return _viewFrustumOffset; }
|
||||
VoxelStatsDialog* getVoxelStatsDialog() const { return _voxelStatsDialog; }
|
||||
|
||||
void loadSettings(QSettings* settings = NULL);
|
||||
void saveSettings(QSettings* settings = NULL);
|
||||
void importSettings();
|
||||
void exportSettings();
|
||||
|
||||
void handleViewFrustumOffsetKeyModifier(int key);
|
||||
|
||||
public slots:
|
||||
void bandwidthDetails();
|
||||
void voxelStatsDetails();
|
||||
void loadSettings(QSettings* settings = NULL);
|
||||
void saveSettings(QSettings* settings = NULL);
|
||||
void importSettings();
|
||||
void exportSettings();
|
||||
|
||||
private slots:
|
||||
void editPreferences();
|
||||
|
@ -67,7 +66,7 @@ private slots:
|
|||
void cycleFrustumRenderMode();
|
||||
void updateVoxelModeActions();
|
||||
void chooseVoxelPaintColor();
|
||||
void runTests();
|
||||
void runTests();
|
||||
|
||||
private:
|
||||
static Menu* _instance;
|
||||
|
|
Loading…
Reference in a new issue