Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
897b4b67
Commit
897b4b67
authored
Feb 02, 2012
by
shibakaneki
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:Sankore/Sankore-3.1
parents
03fa177d
2d102026
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
UBDesktopAnnotationController.cpp
src/desktop/UBDesktopAnnotationController.cpp
+1
-1
UBLibraryWidget.cpp
src/gui/UBLibraryWidget.cpp
+1
-4
No files found.
src/desktop/UBDesktopAnnotationController.cpp
View file @
897b4b67
...
@@ -81,7 +81,7 @@ UBDesktopAnnotationController::UBDesktopAnnotationController(QObject *parent)
...
@@ -81,7 +81,7 @@ UBDesktopAnnotationController::UBDesktopAnnotationController(QObject *parent)
mTransparentDrawingView
->
setMouseTracking
(
true
);
mTransparentDrawingView
->
setMouseTracking
(
true
);
mTransparentDrawingView
->
setAcceptDrops
(
fals
e
);
mTransparentDrawingView
->
setAcceptDrops
(
tru
e
);
QString
backgroundStyle
=
"QWidget {background-color: rgba(127, 127, 127, 0)}"
;
QString
backgroundStyle
=
"QWidget {background-color: rgba(127, 127, 127, 0)}"
;
mTransparentDrawingView
->
setStyleSheet
(
backgroundStyle
);
mTransparentDrawingView
->
setStyleSheet
(
backgroundStyle
);
...
...
src/gui/UBLibraryWidget.cpp
View file @
897b4b67
...
@@ -361,15 +361,12 @@ void UBLibraryWidget::dropEvent(QDropEvent *event)
...
@@ -361,15 +361,12 @@ void UBLibraryWidget::dropEvent(QDropEvent *event)
QString
filePath
;
QString
filePath
;
QString
crntPath
=
urlList
.
at
(
i
).
toString
();
QString
crntPath
=
urlList
.
at
(
i
).
toString
();
#ifdef Q_WS_MACX
filePath
=
QUrl
(
urlList
.
at
(
i
)).
toString
();
#else
if
(
crntPath
.
startsWith
(
"file:"
)
||
crntPath
.
startsWith
(
"/"
)){
if
(
crntPath
.
startsWith
(
"file:"
)
||
crntPath
.
startsWith
(
"/"
)){
filePath
=
QUrl
(
crntPath
).
toLocalFile
();
filePath
=
QUrl
(
crntPath
).
toLocalFile
();
}
else
{
}
else
{
filePath
=
crntPath
;
filePath
=
crntPath
;
}
}
#endif
mLibraryController
->
importItemOnLibrary
(
filePath
);
mLibraryController
->
importItemOnLibrary
(
filePath
);
bDropAccepted
=
true
;
bDropAccepted
=
true
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment