mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-05-08 12:59:52 -05:00
dbhub: Make it clearer what the private/public flag means
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#include <QSslCertificate>
|
||||
#include <QInputDialog>
|
||||
#include <QFileInfo>
|
||||
|
||||
#include "RemoteDock.h"
|
||||
|
||||
@@ -30,6 +30,13 @@ RemotePushDialog::~RemotePushDialog()
|
||||
|
||||
void RemotePushDialog::checkInput()
|
||||
{
|
||||
// Update public/private check box text
|
||||
if(ui->checkPublic->isChecked())
|
||||
ui->checkPublic->setText(tr("Database will be public. Everyone has read access to it."));
|
||||
else
|
||||
ui->checkPublic->setText(tr("Database will be private. Only you have access to it."));
|
||||
|
||||
// Check input
|
||||
bool valid = true;
|
||||
|
||||
if(ui->editName->text().trimmed().isEmpty())
|
||||
|
||||
@@ -156,6 +156,22 @@ p, li { white-space: pre-wrap; }
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>checkPublic</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>RemotePushDialog</receiver>
|
||||
<slot>checkInput()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>171</x>
|
||||
<y>176</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>210</x>
|
||||
<y>175</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
<slots>
|
||||
<slot>checkInput()</slot>
|
||||
|
||||
Reference in New Issue
Block a user