aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-fm-dev
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.org>2017-09-20 21:24:55 +0000
committerWeblate <noreply@weblate.org>2017-09-20 21:24:55 +0000
commit3b0a6306ef992d753a6d082fdb8685dd009e50bc (patch)
treee83745a03f39e2ae106550f8ef7aaec87cd1dfd3 /src-qt5/desktop-utils/lumina-fm-dev
parentTranslated using Weblate (Catalan) (diff)
parentMerge branch 'master' of http://github.com/trueos/lumina (diff)
downloadlumina-3b0a6306ef992d753a6d082fdb8685dd009e50bc.tar.gz
lumina-3b0a6306ef992d753a6d082fdb8685dd009e50bc.tar.bz2
lumina-3b0a6306ef992d753a6d082fdb8685dd009e50bc.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm-dev')
-rw-r--r--src-qt5/desktop-utils/lumina-fm-dev/main.cpp3
-rw-r--r--src-qt5/desktop-utils/lumina-fm-dev/widgets/DirWidget2.cpp4
2 files changed, 7 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm-dev/main.cpp b/src-qt5/desktop-utils/lumina-fm-dev/main.cpp
index 61d2dc95..a4a6244e 100644
--- a/src-qt5/desktop-utils/lumina-fm-dev/main.cpp
+++ b/src-qt5/desktop-utils/lumina-fm-dev/main.cpp
@@ -2,6 +2,7 @@
#include <QDebug>
#include <QFile>
#include <QStringList>
+#include <QElapsedTimer>
#include "MainUI.h"
#include <LuminaOS.h>
@@ -10,6 +11,7 @@
#include <LuminaSingleApplication.h>
#include "BrowserWidget.h"
+QElapsedTimer* timer = 0;
int main(int argc, char ** argv)
{
@@ -27,6 +29,7 @@ int main(int argc, char ** argv)
MainUI w;
QObject::connect(&a, SIGNAL(InputsAvailable(QStringList)), &w, SLOT(slotSingleInstance(QStringList)) );
//QObject::connect(&themes, SIGNAL(updateIcons()), &w, SLOT(setupIcons()) );
+ timer = new QElapsedTimer(); timer->start(); qDebug() << " - Init:" << timer->elapsed();
w.OpenDirs(in);
w.show();
diff --git a/src-qt5/desktop-utils/lumina-fm-dev/widgets/DirWidget2.cpp b/src-qt5/desktop-utils/lumina-fm-dev/widgets/DirWidget2.cpp
index 3790d145..2e837cfd 100644
--- a/src-qt5/desktop-utils/lumina-fm-dev/widgets/DirWidget2.cpp
+++ b/src-qt5/desktop-utils/lumina-fm-dev/widgets/DirWidget2.cpp
@@ -28,6 +28,8 @@
#define DEBUG 0
+extern QElapsedTimer* timer;
+
DirWidget::DirWidget(QString objID, QWidget *parent) : QWidget(parent), ui(new Ui::DirWidget){
ui->setupUi(this); //load the designer file
ID = objID;
@@ -90,6 +92,8 @@ DirWidget::DirWidget(QString objID, QWidget *parent) : QWidget(parent), ui(new U
createShortcuts();
createMenus();
line_dir->setCompleter(new QCompleter(dirtreeModel, this));
+ qDebug() << " - Fini:" << timer->elapsed();
+
}
DirWidget::~DirWidget(){
bgstack15