Merge pull request #642 from ryanccn/metaserver-show-default
Show default metaserver in settings
This commit is contained in:
		@@ -48,6 +48,7 @@
 | 
			
		||||
#include "tools/BaseProfiler.h"
 | 
			
		||||
#include "Application.h"
 | 
			
		||||
#include "net/PasteUpload.h"
 | 
			
		||||
#include "BuildConfig.h"
 | 
			
		||||
 | 
			
		||||
APIPage::APIPage(QWidget *parent) :
 | 
			
		||||
    QWidget(parent),
 | 
			
		||||
@@ -76,6 +77,8 @@ APIPage::APIPage(QWidget *parent) :
 | 
			
		||||
    ui->baseURLEntry->setValidator(new QRegularExpressionValidator(validUrlRegExp, ui->baseURLEntry));
 | 
			
		||||
    ui->tabWidget->tabBar()->hide();
 | 
			
		||||
 | 
			
		||||
    ui->metaURL->setPlaceholderText(BuildConfig.META_URL);
 | 
			
		||||
 | 
			
		||||
    loadSettings();
 | 
			
		||||
 | 
			
		||||
    resetBaseURLNote();
 | 
			
		||||
 
 | 
			
		||||
@@ -146,7 +146,7 @@
 | 
			
		||||
          <item>
 | 
			
		||||
           <widget class="QLineEdit" name="metaURL">
 | 
			
		||||
            <property name="placeholderText">
 | 
			
		||||
             <string>(Default)</string>
 | 
			
		||||
             <string/>
 | 
			
		||||
            </property>
 | 
			
		||||
           </widget>
 | 
			
		||||
          </item>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user