Fix editor position overrides
This commit is contained in:
parent
ace9df84bc
commit
df2ca894a1
@ -24,7 +24,6 @@ CropEditor::CropEditor(QPixmap image, QObject *parent) : QObject(parent) {
|
||||
view->setWindowTitle("KShare Crop Editor");
|
||||
view->show();
|
||||
|
||||
|
||||
connect(scene, &CropScene::closedWithRect, this, &CropEditor::crop);
|
||||
}
|
||||
|
||||
|
@ -74,6 +74,8 @@ SettingsDialog::SettingsDialog(QWidget *parent) : QDialog(parent), ui(new Ui::Se
|
||||
|
||||
ui->formatBox->addItem("None");
|
||||
ui->formatBox->setCurrentIndex(settings::settings().value("recording/format", (int)formats::Recording::None).toInt());
|
||||
ui->cropX->setValue(settings::settings().value("cropx", 0).toInt());
|
||||
ui->cropY->setValue(settings::settings().value("cropy", 0).toInt());
|
||||
setWindowTitle("Settings");
|
||||
#ifndef PLATFORM_CAPABILITY_CURSOR
|
||||
ui->captureCursor->setEnabled(false);
|
||||
|
@ -168,6 +168,12 @@
|
||||
<property name="prefix">
|
||||
<string>x: </string>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<number>-999999</number>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>999999</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
@ -175,6 +181,12 @@
|
||||
<property name="prefix">
|
||||
<string>y: </string>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<number>-999999</number>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>999999</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0" colspan="2">
|
||||
|
Loading…
x
Reference in New Issue
Block a user