Skip to content

Commit

Permalink
[OldOpenFile/Dependencies] Remove old 'OpenFile' element; remove QtQu…
Browse files Browse the repository at this point in the history
…ick.Dialogs and QtQuick.Window dependency
  • Loading branch information
luspi committed Jan 16, 2017
1 parent 38b0478 commit 4a6411a
Show file tree
Hide file tree
Showing 13 changed files with 3 additions and 111 deletions.
2 changes: 1 addition & 1 deletion CMake/ListFilesQML.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SET(d "qml/mainview")
SET(photoqt_SOURCES ${photoqt_SOURCES} ${d}/Background.qml ${d}/QuickInfo.qml ${d}/SmartImage.qml ${d}/ImageItem.qml ${d}/MainView.qml ${d}/Histogram.qml)

SET(d "qml/openfile")
SET(photoqt_SOURCES ${photoqt_SOURCES} ${d}/OpenFile.qml ${d}/OldOpenFile.qml ${d}/BreadCrumbs.qml ${d}/UserPlaces.qml ${d}/Folders.qml ${d}/FilesView.qml)
SET(photoqt_SOURCES ${photoqt_SOURCES} ${d}/OpenFile.qml ${d}/BreadCrumbs.qml ${d}/UserPlaces.qml ${d}/Folders.qml ${d}/FilesView.qml)
SET(photoqt_SOURCES ${photoqt_SOURCES} ${d}/EditFiles.qml ${d}/TweaksZoom.qml ${d}/Tweaks.qml ${d}/TweaksViewMode.qml ${d}/TweaksPreview.qml)
SET(photoqt_SOURCES ${photoqt_SOURCES} ${d}/TweaksThumbnail.qml ${d}/FilesViewGrid.qml ${d}/FilesViewList.qml ${d}/TweaksFileTypeSelection.qml)

Expand Down
1 change: 0 additions & 1 deletion qml/mainview/Background.qml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import QtQuick 2.3
import QtQuick.Controls 1.2
import QtQuick.Window 2.1

Rectangle {

Expand Down
2 changes: 1 addition & 1 deletion qml/mainview/SmartImage.qml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import QtQuick 2.3
import QtQuick.Controls 1.3
import QtQuick.Controls 1.2

Rectangle {

Expand Down
1 change: 0 additions & 1 deletion qml/mainwindow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import ThumbnailManagement 1.0
import ToolTip 1.0
import ShortcutsNotifier 1.0
import Colour 1.0
import QtQuick.Dialogs 1.2
import QtGraphicalEffects 1.0
import ImageWatch 1.0

Expand Down
96 changes: 0 additions & 96 deletions qml/openfile/OldOpenFile.qml

This file was deleted.

2 changes: 0 additions & 2 deletions qml/settingsmanager/EntryContainer.qml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import QtQuick 2.3
import QtQuick.Dialogs 1.1
import QtQuick.Controls 1.2

Rectangle {

Expand Down
1 change: 0 additions & 1 deletion qml/settingsmanager/tabs/TabLookAndFeel.qml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import QtQuick 2.3
import QtQuick.Dialogs 1.1
import QtQuick.Controls 1.2

import "./lookandfeel"
Expand Down
1 change: 0 additions & 1 deletion qml/settingsmanager/tabs/TabMetadata.qml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import QtQuick 2.3
import QtQuick.Dialogs 1.1
import QtQuick.Controls 1.2

import "./metadata"
Expand Down
1 change: 0 additions & 1 deletion qml/settingsmanager/tabs/TabOther.qml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import QtQuick 2.3
import QtQuick.Dialogs 1.1
import QtQuick.Controls 1.2

import "./other"
Expand Down
1 change: 0 additions & 1 deletion qml/settingsmanager/tabs/TabShortcuts.qml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import QtQuick 2.3
import QtQuick.Dialogs 1.1
import QtQuick.Controls 1.2

import "../../elements"
Expand Down
1 change: 0 additions & 1 deletion qml/settingsmanager/tabs/TabThumbnails.qml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import QtQuick 2.3
import QtQuick.Dialogs 1.1
import QtQuick.Controls 1.2

import "./thumbnails"
Expand Down
2 changes: 0 additions & 2 deletions qml/settingsmanager/tabs/lookandfeel/BorderAroundImage.qml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import QtQuick 2.3
//import QtQuick.Dialogs 1.1
//import QtQuick.Controls 1.2

import "../../../elements"
import "../../"
Expand Down
3 changes: 1 addition & 2 deletions qmlresources/openfile.qrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<RCC>
<qresource prefix="/">
<file>../qml/openfile/OpenFile.qml</file>
<file>../qml/openfile/OldOpenFile.qml</file>
<file>../qml/openfile/OpenFile.qml</file>
<file>../qml/openfile/BreadCrumbs.qml</file>
<file>../qml/openfile/Folders.qml</file>
<file>../qml/openfile/UserPlaces.qml</file>
Expand Down

0 comments on commit 4a6411a

Please sign in to comment.