mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
quicksettings/record: Fix
This commit is contained in:
parent
8c885bc699
commit
c2b9a06e61
2 changed files with 10 additions and 1 deletions
|
|
@ -6,8 +6,17 @@
|
|||
|
||||
#include "recordutil.h"
|
||||
|
||||
#include <QFile>
|
||||
#include <QStandardPaths>
|
||||
|
||||
#include <KFileUtils>
|
||||
#include <KNotification>
|
||||
|
||||
RecordUtil::RecordUtil(QObject *parent)
|
||||
: QObject{parent}
|
||||
{
|
||||
}
|
||||
|
||||
QString RecordUtil::videoLocation(const QString &name)
|
||||
{
|
||||
QString path = QStandardPaths::writableLocation(QStandardPaths::MoviesLocation);
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ class RecordUtil : public QObject
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
ScreenShotUtil(QObject *parent = nullptr);
|
||||
RecordUtil(QObject *parent = nullptr);
|
||||
|
||||
/**
|
||||
* Allows us to get a filename in the standard videos directory (~/Videos by default)
|
||||
|
|
|
|||
Loading…
Reference in a new issue