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));
|
||||
setMouseTracking(true);
|
||||
setWindowTitle("KShare Color Picker");
|
||||
move(screenshotutil::smallestScreenCoordinate());
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
|
||||
pItem = addPixmap(pixmap);
|
||||
|
@ -17,7 +17,7 @@
|
||||
#include <recording/encoders/encodersettings.hpp>
|
||||
|
||||
RecordingFormats::RecordingFormats(formats::Recording f) {
|
||||
if (tmpDir.isValid()) {
|
||||
if (!tmpDir.isValid()) {
|
||||
validator = [](QSize) { return false; };
|
||||
qCritical().noquote() << "Could not create temporary directory. Error: " + tmpDir.errorString();
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user