aboutsummaryrefslogtreecommitdiff
path: root/lumina-open
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-open')
-rw-r--r--lumina-open/LFileDialog.h1
-rw-r--r--lumina-open/lumina-open.pro1
-rw-r--r--lumina-open/main.cpp4
3 files changed, 4 insertions, 2 deletions
diff --git a/lumina-open/LFileDialog.h b/lumina-open/LFileDialog.h
index 27f038d6..eaed3625 100644
--- a/lumina-open/LFileDialog.h
+++ b/lumina-open/LFileDialog.h
@@ -19,6 +19,7 @@
#include <QSettings>
#include <QTextStream>
#include <QTreeWidgetItem>
+#include <QAction>
#include <LuminaXDG.h> //From libLuminaUtils
#include <LuminaUtils.h>
diff --git a/lumina-open/lumina-open.pro b/lumina-open/lumina-open.pro
index b70d6b27..ce0e231d 100644
--- a/lumina-open/lumina-open.pro
+++ b/lumina-open/lumina-open.pro
@@ -1,5 +1,6 @@
QT += core gui
+greaterThan(QT_MAJOR_VERSION, 4): QT += widgets x11extras
TARGET = lumina-open
isEmpty(PREFIX) {
diff --git a/lumina-open/main.cpp b/lumina-open/main.cpp
index 4fcf70b7..a92a585f 100644
--- a/lumina-open/main.cpp
+++ b/lumina-open/main.cpp
@@ -125,8 +125,8 @@ QString cmdFromUser(int argc, char **argv, QString inFile, QString extension, QS
qDebug() << "Locale:" << langCode;
//Load current encoding for this locale
- QTextCodec::setCodecForTr( QTextCodec::codecForLocale() ); //make sure to use the same codec
- qDebug() << "Locale Encoding:" << QTextCodec::codecForLocale()->name();
+ //QTextCodec::setCodecForTr( QTextCodec::codecForLocale() ); //make sure to use the same codec
+ //qDebug() << "Locale Encoding:" << QTextCodec::codecForLocale()->name();
LFileDialog w;
if(inFile.startsWith(extension)){
bgstack15