Logic errors
This commit is contained in:
parent
a4118ea3ac
commit
ad0dc3abe7
@ -17,7 +17,6 @@ ColorPickerScene::ColorPickerScene(QPixmap pixmap, QWidget *parentWidget)
|
|||||||
setCursor(QCursor(Qt::CrossCursor));
|
setCursor(QCursor(Qt::CrossCursor));
|
||||||
setMouseTracking(true);
|
setMouseTracking(true);
|
||||||
setWindowTitle("KShare Color Picker");
|
setWindowTitle("KShare Color Picker");
|
||||||
move(screenshotutil::smallestScreenCoordinate());
|
|
||||||
setAttribute(Qt::WA_DeleteOnClose);
|
setAttribute(Qt::WA_DeleteOnClose);
|
||||||
|
|
||||||
pItem = addPixmap(pixmap);
|
pItem = addPixmap(pixmap);
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
#include <recording/encoders/encodersettings.hpp>
|
#include <recording/encoders/encodersettings.hpp>
|
||||||
|
|
||||||
RecordingFormats::RecordingFormats(formats::Recording f) {
|
RecordingFormats::RecordingFormats(formats::Recording f) {
|
||||||
if (tmpDir.isValid()) {
|
if (!tmpDir.isValid()) {
|
||||||
validator = [](QSize) { return false; };
|
validator = [](QSize) { return false; };
|
||||||
qCritical().noquote() << "Could not create temporary directory. Error: " + tmpDir.errorString();
|
qCritical().noquote() << "Could not create temporary directory. Error: " + tmpDir.errorString();
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user