Skip to content

Commit

Permalink
Fixed some Linux bags
Browse files Browse the repository at this point in the history
  • Loading branch information
aizenbit committed Nov 21, 2016
1 parent 019cd07 commit 61adf53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Scribbler.pro
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ FORMS += mainwindow.ui \
preferencesdialog.ui \
fontdialog.ui

CONFIG += c++14
CONFIG += c++11

RC_ICONS = resources\favicon.ico

Expand Down
2 changes: 1 addition & 1 deletion svgview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ void SvgView::prepareSceneToRender()
cursor = QPointF(currentMarginsRect.x(), currentMarginsRect.y());

if (useSeed)
srand(seed);
qsrand(seed);
else
srand(QTime::currentTime().msec());

Expand Down

0 comments on commit 61adf53

Please sign in to comment.