mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-25 23:27:20 -08:00
Small bugfixes
This commit is contained in:
parent
a9929fc87f
commit
1671f78e5b
3 changed files with 4 additions and 3 deletions
|
@ -128,7 +128,7 @@ generalDialog::generalDialog(QWidget *parent) :
|
|||
else if(global::usbms::usbmsDialog == true) {
|
||||
usbmsDialog = true;
|
||||
ui->okBtn->setText("Connect");
|
||||
ui->cancelBtn->setText("Cancel");
|
||||
ui->cancelBtn->setText("Not now");
|
||||
ui->bodyLabel->setText("<font face='u001'>Do you want to connect your device to a computer to manage books</font><font face='Inter'>?</font>");
|
||||
ui->headerLabel->setText("USB cable connected");
|
||||
QTimer::singleShot(50, this, SLOT(adjust_size()));
|
||||
|
|
|
@ -268,7 +268,7 @@
|
|||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="bodyLabel">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
|
|
|
@ -350,7 +350,6 @@ MainWindow::MainWindow(QWidget *parent)
|
|||
if(checkconfig(".config/18-encrypted_storage/status") == true) {
|
||||
QDir encfsDropboxDir("/mnt/onboard/onboard/encfs-dropbox");
|
||||
if(!encfsDropboxDir.isEmpty()) {
|
||||
global::usbms::showUsbmsDialog = false;
|
||||
QTimer::singleShot(1000, this, SLOT(openEncfsRepackDialog()));
|
||||
}
|
||||
}
|
||||
|
@ -1076,6 +1075,8 @@ void MainWindow::checkForUpdate() {
|
|||
|
||||
void MainWindow::openEncfsRepackDialog() {
|
||||
global::encfs::repackDialog = true;
|
||||
global::usbms::showUsbmsDialog = false;
|
||||
global::usbms::usbmsDialog = false;
|
||||
generalDialogWindow = new generalDialog(this);
|
||||
generalDialogWindow->setAttribute(Qt::WA_DeleteOnClose);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue