mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	mobile: move NOCLOUD_LOCALSTORAGE from qmlmanager.cpp to .h
Make NOCLOUD_LOCALSTORAGE public for other qml functions Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
		
							parent
							
								
									d0e9f62624
								
							
						
					
					
						commit
						62ca5e90e1
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -39,8 +39,6 @@ QMLManager *QMLManager::m_instance = NULL; | ||||||
| #define RED_FONT QLatin1Literal("<font color=\"red\">") | #define RED_FONT QLatin1Literal("<font color=\"red\">") | ||||||
| #define END_FONT QLatin1Literal("</font>") | #define END_FONT QLatin1Literal("</font>") | ||||||
| 
 | 
 | ||||||
| #define NOCLOUD_LOCALSTORAGE format_string("%s/cloudstorage/localrepo[master]", system_default_directory()) |  | ||||||
| 
 |  | ||||||
| extern "C" void showErrorFromC(char *buf) | extern "C" void showErrorFromC(char *buf) | ||||||
| { | { | ||||||
| 	QString error(buf); | 	QString error(buf); | ||||||
|  |  | ||||||
|  | @ -17,6 +17,8 @@ | ||||||
| #include "qt-models/completionmodels.h" | #include "qt-models/completionmodels.h" | ||||||
| #include "qt-models/divelocationmodel.h" | #include "qt-models/divelocationmodel.h" | ||||||
| 
 | 
 | ||||||
|  | #define NOCLOUD_LOCALSTORAGE format_string("%s/cloudstorage/localrepo[master]", system_default_directory()) | ||||||
|  | 
 | ||||||
| class QMLManager : public QObject { | class QMLManager : public QObject { | ||||||
| 	Q_OBJECT | 	Q_OBJECT | ||||||
| 	Q_ENUMS(cloud_status_qml) | 	Q_ENUMS(cloud_status_qml) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue